Feature/authentication and authorization

This adds authentication and logging. After you merge you will either need to add 
?api_key=abcd-1234-fghi to your parameters
or
Authorization: api-key abcd-1234-fghi to your headers