Adding more convenient overloads for performance_counters::discover_counter.
Adding one more overload for discover_counters, fixing existing discover_counter functions to properly handle the error_code
Merge branch 'master' into fixing_685
Adding more test cases