Add ApplicationController as subclass of ActionController::API
Add type column to Card table.
Update to Rails 4.2.0.beta2.