Support Stage type tracks

Adds support so our start/finish line detection code will properly
handle stage type tracks.

Also does a little cleanup on the code.  More is needed.
Add unit test for code that extracts finish line info