Support templates and new file functionality in Components
This adds the functionality from the old QtQuick1 components
to the new QtQuick components. Gemini still crashes at the moment
when using this, but it is still progress from not working at all.