AMD refactoring.
allow to create custom AMD including different components.

For example since now jQueryMobile UI is provided by a "amd.jqm" dependency while generic WebApp components are provided by "amd" generic file.