Generate requirejs config in ruby

This is a precursor to removing the need for applications to reference
specific Dough components directly
Plan!