Created custom middleware

Applying exceptions to views (wip)
More exceptions
more exceptions
Make our own version of get_object_or_404 and get_list_or_404
Make our own shortcuts work
Apply our shortcuts
fixed import