Fixed a little bug on old PHP versions.

empty() method needs to access value by reference. Look http://stackoverflow.com/questions/1075534/cant-use-method-return-value-in-write-context/4328049#4328049
Password hash now works on PHP 5.3