added new API packages for both math and document modes.
removed dependencies on java's stringreader and bufferedreader
removed unneeded import
added a regression test and bumped the version number for sbt-pack
Changes to the math parser that are necissary but broke some things.

I switched the math parser to phrase mode.  This means that it won't
bail out with a success if it can parse half way through a line but
fails somewhere else.  Before, something like this would work:

    1 + 2 / 3,

even though the comma is illegal. (in this case it would parse
1 + 2 / 3 correctly and ignore the rest)

with phrase mode, this is illegal, because of this, we are failing
some tests.
Merge branch 'master' of github.com:TyOverby/Pipe