TAP5-2350: add an AMDWrapper class that can be used to wrap plain JavaScript libraries as AMD modules