Reintroduce a client module for comfortable access to core functionality.
Also cached client ops should work.
Add test for options.
pep8.
pyflakes.
Remove old convert_doc (moved to client.py) and fix dependent imports.