Fix formatting, make sure it passes pylint.
Fixed import bugs for string and random in generate_password.