Begin implementing API tests (incomplete)

* Specify URLs as JSON objects instead
* Use api.php for all requests, instead of index.php
* Add handlers for processing objects returned from API (incomplete)
* Add 'urldata' to rater.loader.list
* Some comment updates
* A few semicolons, spacing changes
* See #5