Introduces some major code optimizations

I decided to bump up the version number to 3.1, because of some major
changes in the tracker (no changes in the JS, though)
Merge pull request #5 from duechiacchiere/master

WP SlimStat 3.1