Allow setting TEXINPUTS; document `setCompileCommand`.

Improved the README documentation, and in particular added documentation of
the `setCompileCommand` method.  Added a use of `setCompileCommand` to the
example in `example.js`.

Allow the user to set the TEXINPUTS environment variable to adjust the
LaTeX search path, using `setCompileCommand`.