fix needsRefresh method.
add needsRefresh and setRefreshInterval to interface.
add utility script to make api get requests
add codahale metrics lib dependency.
added input config parameter to filter inputs by regex.
added trial uses of codahale metrics for counting and timing
requests.
added more tests for basic cache.