add ability to have an optional password policy enforcement on account creation

pep8/pylint fixes

fix method doc string

more pep8/pylint fixes

pep8 tweeks

more pylint tweeks

more pep8