Refs #4494: Includes requirejs
Refs #4494: Can require AMD modules from PHP
Refs #4494: Adds requirejs text plugin for static template support
Refs #4494: Registers elgg JS object as AMD module.
Merge pull request #523 from ewinslow/amd-support-b4494

Refs #4494: Add AMD support