fix(js): Separated elgg_load_js() and elgg_define_js().

Refs #6603, #6497, #5090.
docs(amd): Separated design and guides for AMD docs.

Refs #6603, #6497, #5090.