bump version to 3.1.6 in line with rml2pdf
utils.py: fix up isNonPrimitiveType for None