added basic code to read only segments and points from the hair file
made the loading method public so that we can test it
added a test file for curve tree and modified cmakelists to include it