Build: Add the ability to remove global exposure.

Ref #14016

Conflicts:
	build/tasks/build.js
	src/core.js
Build: add build option for setting the AMD name.

Fixes #14016.