add encrypt method in all the 'PUT' function, so when the server received a 'PUT' instruction,
it will read the encrypt method and then encrypt the uploaded file.
add a http req head field "Dockyard-Encrypt-Method" to both server and client
Now we support 'none' and 'gpg'
update all the unit test and integrate test cases and data.
The encrypt feature is done!
Signed-off-by: liang chenye liangchenye@huawei.com