Changes frameworkModules.js from an array of modules into also including the modules themselves.

Reviewed by Eric Li <eli@blackberry.com>
Tested by Tracy Li <tli@blackberry.com>