Remove posts and comments

Posts and Comments removed from the app core.
Examples will be moved to the `example` branch.
Merge branch 'master' into remove-examples

* master:
  Update rails_best_practices options
  Move rubocop configuration to config/rubocop.yml
  Add brakeman configuration
  %w-literals should be delimited by ( and )
  Use nested module/class definitions instead of compact style.
  Prefer before_action over before_filter
  Prefer skip_before_action over skip_before_filter
  AllCops/Excludes was renamed to AllCops/Exclude
  Update rubocop to 0.20.1
  Update brakeman to 2.4.3
  Update ruby to 2.1.1

Conflicts:
	app/controllers/user/base_controller.rb
	app/controllers/user/comments_controller.rb
Merge branch 'master' into remove-examples

* master:
  Do not mention patch level for ruby
Merge pull request #59 from fs/remove-examples

Remove posts and comments
Fixup apitome config to make it work
Replace double quotes with single
Update rspec_api_documentation and apitome configuration

- move generated json to doc/api
- set aptitome title automatically from Rails app name
- use single page
Do not ignore generated json from rspec api documentation

To be able to serve api docs on staging env
Reorganize API specs

- specs should be stored in the specs/acceptance
- each spec should be marked with `type: :api`
- set correct request header
- simplify Sessions API spec
- use `parse_json` instead of JSON.parse in the `spec_helper`
Do not ignore generated docs

We need to serve docs from staging
Update rspec_api_documentation to 3.0.0
Update rspec_api_documentation configuration

- filter usefulness headers
- add CURL output
- sort examples how they listed in the specs
Update api docs after configuration update
Set default response format in the routes
Merge pull request #61 from fs/reorganize-api-specs

Reorganize api specs
Add posts and comments to examples branch after merge with master
Merge pull request #76 from ildarkayumov/reorginize-examples-branch

Reorginize examples branch