add AMD support

As with other Backgrid extensions, extending is still done with namespacing, it does not return/export a module.