agSaveButton and agDeleteButton should use promises

Currently it uses `pendingRequests` which is intended to debugging purposes. Since AngularJS 1.2 resources return promises so they could be used in the view in order to resolve request status and enable/disable components.

related to #66