add functions for generating passwords

and salted hashes. #11256
Use raw string for secure_password
Need version v2.1.0 of pycrypto for get_random_bytes

Centos 6 and Rhel6 have v2.0.1
Fix pylint
Merge pull request #11265 from gtmanfred/passwords

add functions for generating passwords