Ported statistics services and tests
Create image using raw bytestring
Changed ListField in exploration
Fix some left out code from the merge
Make django settings the default settings.