fixing cukes

added some cukes to make sure, that the blocks are actually limited to the selected project. Also did some housecleaning(e.g. remove unused hooks). The cukes should run now and are actually testing some stuff - this is not really feature-complete, as the plugin still does things that are not yet tested, but it's a start...