Add AMD and bower support.

Greatings,

Seeing as you are the owner of the registered npm package, and doublec seems to have abandoned development, I thought I would push these changes your way.

I also have some other little things in mind that aren't crucial right now, so I thought I'd test the waters and see what your plans are with this.  I doubt my contributions will be high-volume, but I use this library pretty heavily and there are some utilities that could migrate back into it.

Cheers,
Eli