Updated all calls to post_metric(), changing to new name emit().  This
is based off the ruby library that uses emit_point().   Created warning
about deprecated function in post_metric.  Renamed test file.