If the window.gon variable is already defined, use it instead of
overwriting it.
Adding namespace_check configuration option.

* namespace_check will default to false per @gazay's request.
Merge pull request #153 from tommyh/master

If the window.gon variable is already defined, use it instead of overwriting it.