Making Ladda a AMD/Common.js Module

This commit moves spin.js into it's own file and makes define or export itself as module if using a module loader. otherwise it loads into the window global as before. Retains the exact same functionality but makes loading it cleaner in many environments.