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

Fix leading dots in metrics/index.json
Conflicts:
	webapp/graphite/metrics/views.py
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().