Extract the local charset constants into a global one

Fixes #359. Not sure it this might cause too many conflicts with what other people are working on though?

This doesn't change any functionality. It just moves the constant to `net.opentsdb.core.Const` and changes all references to point to that.