Check for critical environment variables.

Ensure that LANG and HOME are both set before running Pandoc, as their
absence can cause fatal errors as discussed in #31.
Merge pull request #72 from trestletech/master

Check for critical environment variables.