Add activation flag to MemoryLogger

Flag is set via system property
Let MemoryLogger log mean and max memory consumption

Changes in all JavaMOP aspects necessary
Activate memoryLogging in 'javamop'

Performance impact is small and hits all experiments in the same way