Refactor Connector.Refresh() method

Add a matchSeriesPattern() function to the connector package to perform
connector source/metric pattern matching on series names.