fixing a few bugs in the Hash class for generating other hash types, updating tests to add a few more checks
adding swapping of bcrypt prefix based on PHP version, added BCRYPT_BC to handle pre-PHP 5.3.7 versions
Merge pull request #113 from enygma/bcrypt-prefix-swap

Bcrypt prefix swap. Fixes #110. Also fixes some bugs in Hash class.