Added pretty_print parameter to api, made api.php use the new api, and changed Database::init_connection so that it is called from inside the API class constructor. It also now takes parrameters
Added setup methods
Added error handling and more function comments for documentation. Also added a few 'set' parameters and made column names used for verifying and tracking api key hits editable with API::set_key_required()