Update to swift 1.0

This updates the project to swift 1.0 and makes a couple other changes to make it easier to use tokenizers and parsers in a separate project.  Not all tests pass (I think there were some failing according to a prior commit message), though this is a start.