Replaces clearance with devise. Adds basic token based authentication.

@azevedo-252 bump.
This file is going to disappear, I only removed clearance related code so it doesn't give me any errors. Like I said, I'm keeping the controller files for now.