nycr: Make the AST managed by std::unique_ptrs

Adds proper destruction on error in the generated parser (Specifying %destructor)
Fixes a periodic crash when deleting CST nodes (The nodes would get deleted twice...)
Make cst_utils.test compile with unique_ptr AST
nycr: Pass AST between parser and wrapper as parameter rather than global.
Make ncyr buildable with starsha
Merge pull request #74 from cmaloney/orly_client_segfault

Fix ocassional orly_client segfault