Item13131: remove dependency on CGI.pm

also:

- use html5 data attributes for parameters instead of a json encoded into the title attribute.
- fix use of default config settings