* Functional parsing of the references.
* Parse out a set of tokens divided into start and end sets
* Use those tokens to drive a state machine building the final reference.
* Cleaned up formatting. cuddle those curlies!!!
* Fixed test suite to use the dev version of the lib.