Modifications to StatisticsExample.java to make it working.

Contains a patch to make StatisticsExample working albeit without eviction related stats since it has not been implemented fully in the publicly released RI.