Some tests for the HerculeEntryPoint

Not all is tested though, because I've not found any good way of
shutingdown the application from the tests (which means that it will
block ports for the other tests later, thus causing trouble).
Merge pull request #52 from johandahlberg/feature/hercules_test

Some tests for the HerculeEntryPoint