(CDAP-1090) Feature/metrics search

Search for metrics context and available metrics.
https://issues.cask.co/browse/CDAP-1090
The reason why it's ok for the existing `getPaddedKey` is ok because it's not used inside a loop (although it'd be good to optimize the array creation there as well).