Added a simplistic JSON tidier
Merge pull request #15 from oschwald/greg/json

A simplistic JSON tidier
updating to next version 0.19
0.19
updating date for 0.19
0.19
add newlines after package
SVN tests not working right now
updating to next version 0.20
Catch errors from perltidy even if perltidy -se flag set.

If the perltidy -se flag is set then errors are mixed into the stderr
stream.  If the -nse is set then errors are sent to a separate stream
(errorfile).

This is particularly pernicious because these flags can be set in
other "bundly" flags such as -pbp.

Before this change, if the code only checked the errorfile stream.  If
-se was set then it would miss the errors that were in the stderr stream.

This fix catches both streams and checks both.
emacs mode: clean up temp error-file.

The emacs lisp code creates a temporary file to hold any errors
that tidyall spews.  We should clean it up when we're finished
with it.

My emacs-fu isn't strong enough to deal with cleaning up the file
if something exceptional happens (e.g. what's the elisp equiv. of
a "finally" clause in try/catch/finally?)
emacs support: add a provide statement so require works.

Add a (provide 'tidyall) statement so one can require the
code elsewhere.
TidyAll expects octets, not a UTF8 string
fix docs and options handling for tidyall_ok
0.20
updating date for 0.20
remove tidyall.t
Fixes "test" mode where it is misdocumented as "tests" mode.
Merge pull request #21 from oalders/test-mode

Fixes "test" mode where it is misdocumented as "tests" mode.
Merge pull request #17 from oschwald/greg/encoding-fix

TidyAll expects octets, not a UTF8 string