Stub out the queue with a PieceMeta $resource

The $httpProvider tweaks allow us to use CORS (by passing any Beehive
credentials alongside Beehive requests), and set us up for JSON
responses.  Angular's default Accept header is [1]:

    Accept: application/json, text/plain, */*

Since this application is only interested in JSON transactions, we
don't accept the the alternative types.

[1]: https://docs.angularjs.org/api/ng/service/$http
app/js/controllers.js: Bind to PieceMeta.query() return

Following the tutorial [1]:

  $scope.phones = Phone.query();

[1]: https://docs.angularjs.org/tutorial/step_11