Updated for PHP 5.5

Updated for PHP 5.5 onwards
Added native password hashing functions to Resource\User.php