Apply and close #66
Rename all occurrences of fopdf to fopub; upgrade samples to Gradle 1.9