pep8
fix view module name using wraps in the decorator
middleware expect project as kwarg so decorator can do the same
remove not used class
update project permission template (cf a7a257c199f86763c8942f0385a9195cd51dc84e)
fix: user -> request.user
fix: has_perm need project object
tests: more tests about issues views