[CB-4734] Fixed issue where plugins are not added to frameworkModules

  Reviewed By: Jeffrey Heifetz <jheifetz@blackberry.com>
  Tested By: Rowell Cruz <rcruz@blackberry.com>