add json_spec gem
update models
update factories
fix tasks controller and model spec.
POST tasks + refactor with json_spec