CSP compatibility (flot core)

1. CSP compatibility for jquery.flot.js.
2. Fix an unrelated style guide violation that made it's way into the source (to fix the build).

I have excluded CSP compatibility in the pie plugin as I don't currently use those code paths. I will address that in a future pull request when I've had time to test it properly.

Closes #828