Move require.js config to a separate file

so it can be reused by 3rd-party libraries like Intern or Karma

Change-Id: Idc9727e6ee28aba95abe95082f4bab63820cd5b2
Merge "Move require.js config to a separate file"