api: remove todo, already done
api: resource based routing

Cleaned up @api decorator code.
Now using py.test for unittesting.
Changed throttle API to bind to a specific request and auth object.