#181 Removed temp files related to admin
fix bug in admin add email
Fixes #289 Created test to expose #289 and altered middleware so that current project can now also be found for requests to projectadmin urls