cleanup time again

- admin rights now checked by middleware
- formatting in many files
- removed useless stuff
reality strikes again
stupid tests break the build
Merge pull request #182 from leider/master

lots of technical changes