Explicitly set bootstrap view var to an integer
Standardize password client-side validation method

Update account.index.tpl
Update session.forgot.tpl
Update session.register.tpl
Update class.RegisterController.php
Update class.AccountConfigurationController.php
Update session.resetpassword.tpl

Closes #1547, closes #1563