Fixed bad test naming
Added permissions to context.
Do not fail if session middleware is not used.
Added Django.has_perm() javascript function
Updated documentation