Issue #149: Read stats generation property from JVM system property

- Decide whether to generate statistics by reading a JVM system property.
By doing that it is possible to create stats without having to edit the code
and recompile the framework.
- Add a Scala launcher in pom to start stats creation by setting the
appropriate JVM system property