first fixes, tests break
fix two tests, one remaining
simplify throw
fix last test
comment fix
Merge pull request #29 from owncloud/fix-after-exception

Middleware should throw exceptions again instead of returning null