Merge pull request #301 from afrjorge/require-js

Cherry pick '[PPP-3350] - Dual license for Xmla4js'
Merge pull request #302 from afrjorge/require-js

[CDF-331] - Create a module for each component