Users module REST api + restdocs bnc#790161

* Added restdocs
* Various addhoc fixes in controllers and models when needed