Consolidate data points for json content.
Nudge series start over to stop jitter
Fix mostDeviant to conform with function signatures
Added metrics-sampler
Merge pull request #293 from bitprophet/0.9.x

Fix leading dots in metrics/index.json
Conflicts:
	webapp/graphite/metrics/views.py
fix *Color graph options processing as string

majorGridLineColor, minorGridLineColor, rightColor, leftColor sohould not be converted to int
alias / aliasSub fail when aliasing functions like multiplySeries
fixes cases where we only have one metric on each axis
Merge pull request #301 from obfuscurity/master

Fix legendHeight for one numberOfLines and secondYAxis
Merge pull request #299 from gjesse/fix-alias

alias / aliasSub fail when aliasing functions like multiplySeries
Merge pull request #279 from mleinart/fix_most_deviant

Fix mostDeviant to conform with function signatures
Merge pull request #170 from philiphoy/master

Added ability to set maximum returned datapoints for json requests
Drop `ensure_ascii` from json.dumps() calls.

With `ensure_ascii` (the default), we observed the following in our
graphite installation when calling the /metrics/index.json resource:

        UnicodeDecodeError: 'utf8' codec can't decode byte 0x8a in position 81: invalid start byte
Add json_response_for().

Builds an HttpResponse instance with appropriately serialized JSON depending on the request's Accept header.
Use json_response_for() in the easy cases.
Return a dict in tree_json(), pass it to json_response_for().
Use json_response_for() for jsonp generation, too.
Kill dumps(), replaced with json_response_for().
Merge pull request #286 from whilp/dont-ensure-ascii-metrics-index

Handle UTF-8 data in metrics views
fixed areaMode=all regression
When setting areaMode=all only the area of last series was actually filled