Add the ability to define a period for gauge and counter measurements

Added in the optional ability to define a period in the constructors for gauges and counters. Using a period to limit the data aggregation on Librato's end is a pretty useful cost-saving / noise-reducing utility.