Work around password form not having a ['part1'] variable, and check for type.
PHP error Bugfixes & updated code to use dependency injection
Added configuration link & updated README.md file
Version 1.0.0 of the Password Reset Code module.