Adds jQuery.Deferred and jQuery.Promises to handle loading entities

* When fetching a single Payment, Sale or Customer, we are now using
  jQuery.Deferred and jQuery.Promise to handle latency.