Implement resultsdb frontend integration.

We still have to do the backend part (the masher) but that can be
totally separate.