Fix #95, add AMD compatibility, fully BC, throws errors on missing deps.

If jQuery or moment are missing when loading without AMD, and exception will be thrown
to the console. If used in AMD context, it will require 'jquery' and 'moment' modules
which make it in line with "moment" 2.4 and up.