Fix for Issue #138

Basically `#` characters are now automatically removed in the designer, and re-added within the plot function. This fixes the issue where having a `#` character in the URL (which is how plot parameters are passed to each plot iframe) causes the url to be invalid, since `#` has special meaning in a URL.

Lastly, indentation was converted from 2 to 4 spaces, since I have a lot of trouble following control-flow in 2-space indented files. [Whitespace ignoring diff](https://github.com/emoncms/emoncms/pull/139?w=1) (+16, -2)

---

This will fix the problem described in https://github.com/emoncms/emoncms/issues/138