added basic authentication
added api key for access token
changed schema
generate access token by random
before action for controller to add api key to head
another authenticate with http token
finished 352 securing api
started 154 revised polymorphic association
fixed ruby rails version and gemset
added commets table for all comments
updated the migration
added relation
added relation with article
controller for comments
nested routes
controller part
Merge pull request #360 from fireweb/master

Finished 352 securing api