Move configuration in index.html files to a RequireJS 'data-main' file.

Now that the configs are 99.9% the same across device types, we can consolidate them into a single file.  Unfortunately, I had to create a global variable to make this work.  If we decide to "go responsive" later and remove spring-mobile, the need for the global will go away.