Fixed all redirects
Merge pull request #1 from Jacques1/redirect-fix

Fixed all redirects. Contributed by Jacquess1.
Fixed uninitialized attributes in database class

Some attributes, in particular $_whereTypeList, are unset before they're used to build queries. This triggers plenty of notices.
Replace insecure hash algorithm with bcrypt

The legacy hashes are automatically replaced when the users log in or change their passwords, so no user interaction is required.
Merge pull request #3 from Jacques1/bcrypt

Replace hash algorithm with bcrypt
Merge pull request #2 from Jacques1/undefined-attributes-fix

Fixed uninitialized attributes in database class