handle default mainClass setting in addition to discoveredMainClasses
Merge pull request #37 from typesafehub/wip/havocp-main-class

handle default mainClass setting in addition to discoveredMainClasses