Optimizing library and attending security issues.

Hi Martin,

Thank you for approving my previous pull request.

I'm building a module for the Content Management System [Drupal] (http://www.drupal.org/) that implements your library. From the comments on my [Project Application] (http://http://drupal.org/node/1880994) it looks like people are looking forward to the release.
I've credited you in the [Module Description] (http://drupal.org/sandbox/trogels/1880408)

This pull request concerns few points.
1. Make the library even more pluggable and follow the [jQuery Plugin guide] (http://docs.jquery.com/Plugins/Authoring) more.
2. Addressing compatibility issues when jQuery isn't the only framework present. (Drupal and many more systems implement jQuery with .noConflict())
3. Addressing a XSS issue where ```<title><script>alert('xss';)</script></title>``` would be executed.

Cheers,

Troels