Added NewInfluxDB method.

Without this I could not create an instance of InfluxDB since none of the members are exported.
Switched everything to operate on a pointer to the object.