Moved the project ot maven. Cleaning the code

Maven will now build the project instead of manually doing the whole
thing. Also the code used local variables for things that won't change
in the agent lifetime
Ups. This was used in our setup that is environment hierarchy specific

This wasn't used in the original code because disqus are not using environment specific hierarchy(it seems)
Set the version to a cassandra 1.2 compatible
Merge pull request #1 from nikolavp/master

Moved the project ot maven. Cleaning the code