Curve pr new

This PR contains the following functionality with respect to rendering curves.

1. Loading custom curve files.
2. Rendering curves (degree 3) - with basic materials and shadows.
3. Creates a curve tree and uses it to render the curves.