Refactored MeetsUserStandard function in lib/pw.functions.php

Changed the special characters check to use the strpbrk function and a list of bad special characters rather than using a
regular expression. The strpbrk function will return false if none of the characters in the second argument are found in
the first. Rearranged if statements for clarity and to avoid checking the same condition twice.