Serialize DOM method and jQuery widget refactor.

This adds a DOM serialization method to redglass.js, which was previously handled with a separate script. This also refactors the plugin to use the jQuery widget API, which appears to be the way to go if you're [managing state in jQuery plugin](http://learn.jquery.com/plugins/stateful-plugins-with-widget-factory/).

It's also worth noting that the plugin can now cleanly be removed via the `destroy` method. Event logging can also now be paused by passing false to the `record` method.