Implemented a test to test reset password functionality

Rather large commit as had to implement functionality to, via an IMAP javax.mail API, log in and check for reset password email.
Have you tried multi line strings in Scala? http://downgra.de/2010/09/14/multi-line_strings_with_scala/