Utils.metrics added functionality

2 patches changes in this pull request:

a) states.PerfdataMetric.split_value_and_uom() moved to be a module level function instead of a method of PerfdataMetric

b) new function get_base_value() designed for common arithmetic like convert gigabytes into bytes.