fixed registration and forgot password redirects and messages. Registration email sent in HTML format through PHPMailer lib
Merge branch 'master'