When trying to switch to a container that does not exist, it now removes that ctnr from the session list
When creating a ctnr, it is added to the users session variables. When deleting it is removed, and if user is currently in that ctnr they are switched to their default.
Edited for consistency
Merge branch 'master' of https://github.com/OSU-Net/cyder into ctnr_logic

Conflicts:
	cyder/base/views.py
Fixed ctnr_delete_session being called before permissions checking
Fixed another merge conflict
Fixed ctnr's not being deleted from ctnr session list properly
Start laying groundwork for Django REST Framework.
More work.
Some more work.

Feeling pretty lazy for this one...
Basic API functionality.
More API work.
Rearrange API directories a little.
Start writing API tests.
Enable API Token generation, revokation.
Remove some junk and fix some stupidity.
Start API docs.
More API work.
Users can no longer enter 00:00:00:00:00:00 into the mac address field
Finish core API, start API tests.