Added AMD Support

Adding AMD support, is pretty helpful for those who want to use Headhesive within a AMD Loader, such as RequireJS.