AMD define wrap

Adding the options to wrap joined output in a CommonJS-style AMD define wrapper.

Let me know how this is looking.

@scottydawg