Add implementation of lha -p.

The -p command allows the contents of archives to be printed to
stdout. Add support for this along with tests.