fix bug when trying to access params["headers"] instead of request.headers
dashboard#index for api
add description to checklist
list surveys for mobile clients
move user factory to spec/factories/user.rb
define needed attributes on checklist
validate presence of name and description for checklists, permit the :description field in the checklist attributes
return a hash with {surveys: []} for the surveys api controller index
remove unused spec on dashboard controller
add missing actions on checklists controller, edit new template for edit action
fix wrong attr name
use a class for the checklist form instead of the rails generated id
change the path for the form on the new checklist template depending on new/edit actions
update action and permitted params for checklist controller
solve bug with sti on check_items
add route for surveys#show, add send root element on json serialization, context for sending a survey to the mobile device, add update action to checklists controller
rename surveys to checklists on API
rename surveys to checklists on API