JSON.parse the escaped JSON for initialState.

This resolves the issue of dashboards not loading when passed as /dashboard/<name>.
Patch for 'normalize' that crashed with empty set

When a function is called on an empty serie, the function 'normalize'
encoutered an error.
Now it raises a custom error that is tracked by the function 'evaluateTokens'
and returns []
adding test function for normalize()
Use url() and import views in URL definitions
Add configurable URL prefix
Handle STATIC_URL with prefix
Resolve all URLs or prefix them with baseUrl
Load future url on Django 1.4
Disable this for now
Properly handle empty prefix
Merge branch 'master' into fix/reverse
Update reverse call to use named URL
Add a lint tox target, fix all import issues
Fix some whitespace issues
add pow() function, convert squareRoot() and invert() to use safePow() instead, refs #803
Add URL shortening views

Links to graphite images are completely unpastable to jabber/irc/mail as
clients mangle the humongous urls. These commits add a url shortener
that can shorten any graphite url from /what/ever/.... to
/S/something_short.

It can be used manually by prepending /s to any url. This will return a
shortened version of that url. Subsequent commits will integrate this
with the composer and dashboard, and maybe other places.
Integrate the URL shortener

- The composer gets a button to shorten the URL to the current graph.
- The menu that appears when clicking on a graph in the dashboard
  gets a similar item.
Merge pull request #821 from gwaldo/master

Merge the "Feeding Graphite" Documentation
Merge pull request #158 from seveas/url_shortener

Make graphite's /render/?.... urls copy-pastable
backport of changed() function to master, refs #530