Fixing AMD registration

Syntax to register as an anonymous module was incorrect.  The two-argument version of define only works when the first argument is an array of module ID's (strings) not objects.
Fix AMD compatibility with almond loader

Wrapping define in a function so it is compatible with almond
Fix AMD compatibility with almond loader
Merge pull request #19 from jlouns/patch-1

Fix AMD registration
fix typo in log stream name error
keeping jslint happy
failing test for new feature
added new feature to replace endpoint
added build of last new feature
dunno how that typo got in there
new product with fixed typo