Make main function in hspec-discover configurable via the command line

This is useful for users wishing to run arbitrary IO actions around the test suit