Adding password_compat for php5.5 password hashing compatibility #759
refactor password hashing to support bcrypt/php5.5 style password
hash. Fixes #759