implemention of the new PHP 5.5 password hash/salt API functions (including a PHP 5.3/5.4 backwards compatibility lib)