Fix sum by targets.
Use plugin configured "target" instead of raw graphite metric in sum by graphs
fix: targets_list is just query result
fix: es_query variable shadows es_query function
plugin for collectd-generated metrics in graphite

allow match regex override plugin name
Merge pull request #36 from teftin/fix-es-query-shadow

fix: es_query variable shadows es_query function
revert plugin override. use prefix plugin with collectd with extractions
Merge pull request #29 from zehome/sumbyfix

Fix sum by targets. take into account target options
Merge pull request #35 from teftin/fix-target-list

fix: targets_list is just query result
support "avg over" predicates, much better than predefined angles
small cleanup
ES flushing is fast enough now
refactor query parsing & matching functions

* move query parsing functions in query library
* make a simple_match library for the simple matching stuff

make it so that matching functions (whether simple_match or
structured_metrics) just use patterns provided to them;
instead of giving them the full query and having them figure it out
PEP-8
readme updates
bugfix: support stuff with / in query string, such as unit:/s

* remove POST redirect approach
  * it didn't correctly urlencode anyway
  * now do a real GET form submit with url encoded query string
* note that despite url encoding /, bottle (and any CGI/WSGI app)
  still just sees a regular /. see:
  * https://github.com/defnull/bottle/issues/526
  * http://stackoverflow.com/questions/1957115/is-a-slash-equivalent-to-an-encoded-slash-2f-in-the-path-portion-of-a
document recommended units and prefixes
support inline unit conversion (B/s -> TB/d etc)
adjust "avg over" feature for new unit guidelines
assure catchall plugin doesn't catch proto2 metrics

a metric k1=v1.k2=v2 would be "recognized" as as
n1:k1=v1
n2:k2=v2

user probably already uses carbon-tagger, or if not,
we need a different plugin/approach to tag proto2 metrics offline
dedicated irc channel