Password Security: PHPass for Joomla! 2.5

This PR backports the password security fix from 3.2.1 to 2.5.x. Please see testing instructions here: #2656