Added RequestLog model and MySQL DB config options.
Added global_logger which logs all requests in DB.