Refactory code in the view.py in accounts model.

Complete logout function for users.
Create sample test for using continuous integration.

Enable administration provided by Django.
Create the configuration file for Travis CI.