Replaces clearance with devise. Adds basic token based authentication.

@azevedo-252 bump.
ok