Support share resize via PUT

Add put method to the share view to support share resize. Abstract quota update
code into a wrapper function as the same code is used atomically in both POST
and PUT for share creation and resize
Support share resize via CLI

Add do_resize method in shares_console to support share resize via PUT call.
Fix share resize in WebUI

share resize was done via POST and resize command before. Change it to support
resizing via PUT, a clean and consistent approach satisfying our API rules.
Merge pull request #40 from schakrava/issue#6_share_resize

Issue#6 share resize