GEOS-6528 Change master password using REST API

The JIRA issue is here

http://jira.codehaus.org/browse/GEOS-6528

I think this will also fix 
https://jira.codehaus.org/browse/GEOS-6136

This issue was created due to a conversation how to change the master password from the command line.