Use anonymous module when exporting via AMD

This has been requested over and over #1939 #779 #1676 

I think its safe to do. We'll just mention for people to add pathConfig in case the main file is in a different location and they want to use locales.