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
Lists now order by ip's by integer value
Ranges, do not overlap, don't need to sort by end_str
Vrfs and Workgroups are no longer required for dynamic interfaces
select_related tablefy fields
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.