Dashboard API request and the Post API request now work

The API now supports fetching the dashboard (including the optional
offset parameter so that older posts can be fetched) as well as
posting. I intend to implement the appropraite client side JS and link
it with the existing dashboard template soon.