User password edit / unit tests

Users could not properly update their password using the User::edit
method.

The User::resetPassword also had validation commented out, which caused
unit tests to fail and thus password resets didn’t validate properly.

First off, there was a unit test for a method that no longer existed.
Also updated a few exception tests that were incorrect. Added tests for
user password edits.
Formatting fixes

Cleaned up whitespace / syntax
Merge pull request #164 from zmonteca/develop

User password edit / unit tests