use a state machine instead of regexp, to handle comments cleanly

Still need to do the same for function signatures, and it couldn't
hurt to refactor the state machine itself into a different class.

Closes #94
set path for jax-core and jax-engine
Merge branch 'master' of github.com:sinisterchipmunk/jax