Move to Groovy. Use wkhtmltopdf for document creation.

Closes #1