added stats to locality, fixing #212
add entity stats json
added tests, better answer counting
corrected answer rate calculation
corrected user percent calculation
Merge pull request #242 from tbrisker/dev

added stats to locality, fixing #212