Joomla 2.5 support

encode64 is now a shared function
detecting $P$ hashed passwords with joomla