Added possibility to setup script

Added possibility to setup stepdefs. In our case we needed to hook somewhere to enable dependency injection using Guice. Have written some tests that checks that this change is backwards compatible.