Merge pull request #77 from DeLeidscheFlesch/pullreq-blowfish

Use the more secure $2y$ module for crypt.
Removed newline at the end and fixed isLegacyHash check
Merging 3.6.4 into our private version.