Pass tests

Hi Roland, 

This PR basically contains the dependencies I did not find in the current documentation, but which had to be installed to run the tests correctly. 
Also, I have tried to clean up the .gitignore file a bit. Basically I tried to group the single files a bit, in order to ignore entire folders. Perhaps you should double-check this to ensure there is not too much being ignored.

There was one test failing, since it could not find the correct templates ('login.mako'). I have also fixed that one, by pointing the other example you provided. 

Have you already thought about using TravisCI for continuous integration (especially the testing part would be useful here), in order to monitor, whether a seemingly simple change breaks the tests?

-Manuel