added updates to atomic.export, making more r.js friendly
tested with r.js and verified that commonJS wrapping works correctly
removed comments for resolved issues
code cleanup, added comments