test handler now uses a real template so that we can show flash messages inside. Also some cleanups
added flash messages to the master template so that those can be tested
fixed path to template
removed too verbose info log message
removed debug prints
cleanup of config vars for test app
moved db from funcargs to fixture and cleaned app and db up.
moved link testing from test file to conftest to share it.
cleanups of tests and adding new tests for registration and password forgot routine