New logging framework

Switched to Damian's logging library

@brockallen you need to re-think logging on the authentication controller due to that change.