Added api.php for standardized API

Acts as an interface to requests.php, adding &verbose=1 to queries.

First usage of PHPDoc, horray!