testing cleanups

- make main accept argv (default to sys.argv[1:])
- add pragma: no cover to nullhandler path
testing cleanups

- using print("", file=stream) explicitly, otherwise a fake stdio
  stubbed by StringIO seems to fail
update split-mysqldump to use new stream_command interface
ensure mysql.frm uses unicode_literals

- This fixes an issue with the command name being a non-unicode
  string in python2, which caused a minor headache when stubbing
  out stdio streams
cleanup __future__ imports

- use unicode_literals to ensure sandbox command is unicode
  (avoids an issue with stubbing stdio)
- import each future feature on a separate line
minor tidying up of stdio checks in process.run()
fix typo in appendix.rst totree -> toctree
remove api/modules from appendix
minor cleanups in conf.py

- remove theming options
remove only:: man branch in docs/index.rst

- this was used to built man pages separately but seemed to be
  confusing at least a local sphinx_rtd theme
go back to just running nosetests outside of setup.py

- running into a weird coverage behavior with setup.py nosetests
  that I can't seem to reproduce with just a plain nosetests
remove where=tests from setup.cfg

- this was meant to fix nosetests from loading non-test data but
  seemed to cause some headaches with coverage
ensure maxDiff is set to None on assert_equals

- the attempts to provide more information when using multi-line
  text comparisons.  on python2.7 this will use difflib but has a
  pretty low limit and was truncating output and making troubleshooting
  more difficult
cli test cleanups
make tox use test_requirements.txt rather than requirements.txt
make stdio test stubs always be unicode via StringIO
fix incorrect find_module() calling conventions

- this worked on python2, but fails on python3.  simple adjustment
  causes this to work on both platforms
conditionally convert function.__name__ to unicode

- mostly a shim for python2, where this is a plain bytestring
  but on python3 this will always be a proper unicode string
remove generated api documentation for now