Adds amd wrapper, adds amd test runner

Hi @pamelafox - I added UMD support to this (very nice) module so it would work alongside a project where we're required to use requirejs (how meta).  Cheers!