Integrate front-end with server-side API

Expose the task index action through a new route.
Needed to override the default Angular $http Accept header from
'application/json, text/plain, *.*' to just 'application/json' to get
it to work with lotusrb.