Fix an undefined var issue
Fixes #227, this switches the counter metrics over to using publish_counter and the gague metrics to using publish_gague, this should prevent the counter metrics from not being derivatived
Travis-ci doesnt support python 2.4. Whoops :(