cleanup init and move config to separate file

Signed-off-by: Tim Henigan <tim.henigan@gmail.com>
PostResult: require date to be in ISO 8601 format

Signed-off-by: Tim Henigan <tim.henigan@gmail.com>
rename _basedir to basedir

This is not a private variable, so the leading underscore should be
removed.

Signed-off-by: Tim Henigan <tim.henigan@gmail.com>
add testing framework and implement VerifyUser tests

Signed-off-by: Tim Henigan <tim.henigan@gmail.com>