Revamped lightbox.

Made lightbox.js more of a core library.

New functionality:
Register custom form handlers by name.
No more callback stack. Open and close stack.
Register functions to the open and close stacks, to be called when during the respective modal events.

Cart events in cart for some lightness.