Squashed 'api/' changes from d34ebb9..15a3e0d

15a3e0d Merge branch 'master' with existing project
2437477 Adds roles mask and canard
41c6cd4 Removes tests in favor of specs. Adds links and identities models. Adds factory girl factories
acc78f0 Adds oauthio configuration and doorkeeper
b6be539 Adds facebook oauth and token authentication
73fc423 Adds seeds and environment variables for dev/test
5ce6873 Adds versionist gem
8d2e7ae Adds user model with devise support
2966420 Adds devise generated files and home controller
bcbeed5 Ignores intellij files
736516a Initial commit with rails structure

git-subtree-dir: api
git-subtree-split: 15a3e0db8fa34eb3a166e2ae29e07df2dda74dba
Merge commit 'ae97aff67ebaebec9a775a0979e3d08d15eea8c5'