Update dependencies
Test if require is AMD, fixes #21 (thanks @timmywil & @SlexAxton)
Version bump to 0.1.6