Refactored auth

Move views.py to core/auth
Refactor imports in views.py
Refactor existing tests
Add base test class
Update dev requirements to support --with-path= in nosetests
Add test for identify function