Added composer.phar to .gitignore.
Minor improvements to logging.
Improved docs and examples, added PDF generation.