Added: Basic logging, logs added to /temp/logs. Note this folder should be changed
on production system or logs should be disabled.
Bug Fix: fix for where statements parameter being in the wrong order.
Added: Have swapped out Whoops error handler for PHPError.
Bug Fix: For Desmond Objects making calls, before they have a class instance.
Added: Better Error handling for database calls.