Add PBKDF2 function for more secure password hashing

From: https://defuse.ca/php-pbkdf2.htm