Implemented tests for editing a user account details

Rather large commit as I implemented two test cases and did some refactoring for allowing to edit and checking a user in an efficient way
As far as I am aware there is no unified formatter which Guardian uses except the standard IntelliJ one. However, according to this: http://docs.scala-lang.org/style/declarations.html#multiple_parameter_lists, you are right