Add requests API

Requests API allows to get the requests from the DB and thus enable
users to have more insight into what's going on in their repositories (for example: have Travis seen my push? why isn't the build running?).