Refactor tests move assertValidErrorResponse

assertValidErrorResponse wasn't used in the test_catalog module
anymore; it's used in the rest module.

Change-Id: I0442e1e07b6c5693ebed29a57dbe8e070b367c44
Always hash passwords on their way into the DB

Way back in ed793ad5 a feature was added to detect if a password was
already hashed. If it looked like it was already hashed the password
was put into the database as is. It appears that this was added to
support a migration that was using the identity API to store users
instead of direct database inserts.

Change-Id: I37b575e4db2fa7090c5171b8bc32cf2c57ad6e03
Fixes-bug: #1279849
Fix keystone-manage db_version

A recently merged change broke the db_version by passing the value for
init_version to the print rather than the db_version call.

Change-Id: I5ec4269fb89a99e1b303fdd8b2b3d991fc23c883
Closes-Bug: #1284341
Merge "Always hash passwords on their way into the DB"
Merge "Fix keystone-manage db_version"
Merge "Refactor tests move assertValidErrorResponse"