1) Added logging table to database and created logging function calls.
2) Logs have been added to the API for most events currently within the API.
3) Log page added to server to display logs.
4) Added some basic error handling to API, though error handling is still very weak.
Merge branch 'master' of github.com:squidpie/sansgrid