Merge pull request #3 from favrik/develop

Initial backbone setup
Re-applies jquery_ujs file, otherwise we can't logout from the app.
Edits manifest css file. Small minor cosmetic changes to header toolbar.
Edits :customer factory to use Faker.
Adds basic actions and specs for Api::PaymentsController.
Rescues ActiveRecord::NotFound error while retrieving an unexisting or denied object.
Adds two methods to be included in the Customer JSON.
Adds #total method to .purchases relationship.
Removes all callback calculated fields from Customer, Purchase models.
Adds scope :recent to Purchase and Payment models.
Adds methods :recent_payments and :recent_purchases to Customer model.
Edits Customer JSON to include :recent_payments, :recent_purchases on Api::CustomersController#show action.
Adds Api::PurchasesController and its specs.
Adds #total and #items methods to Purchase model. Adds call to those same methods on Api::PurchasesController#index and Api::PurchasesController#show actions.
Adds first entry about the API into the README file.
Prepends method to Api::BaseController to allow passing auth token in request headers.
Temporarily comments out code in this main.js.
Adds meta tag to display logged in user's authentication token. Overwrites Backbone.sync method to pass the user authentication token in the X-AUTH-TOKEN header on every request.
Initializes AndreBadiApp namespace upon page load on backbone.html.erb.
Remove unused file