Use RequireJS to resolve JavaScript dependency.

- l20n.min.js is out of the framework, because we want it loaded as soon
as possible
- without JavaScript optimization
workaround l20n using <template> on Safari
Merge branch 'requirejs'