Emit a warning when clearing globals

Matlab clears all global variables when calling javaaddpath.
We should issue a warning when this happens. The warning
generated here also includes a link to the relevant documentation
and tells the user what to add to the static class path to avoid
this happening again.
Added json.startup