(CDAP-1090) Feature/metrics search

Search for metrics context and available metrics.
https://issues.cask.co/browse/CDAP-1090
Never compile a Pattern every time. Make the compiled Pattern a private static final (constant).