Support Lock Method

Support for the LOCK method is planned to be included from 0.6.x along with the UNLOCK method, which is kind of fundamentally related.

Status
LOCK and UNLOCK are both working for collections (Depth: 0 and Depth: infinity), and for individual resources (Depth: 0). The locks are checked by DELETE and PUT.