Added utility methods, and custom events.

Added copyCss and copyData utility methods, and the Eventable object,
which allows for custom events on non-DOM objects.