Allow skipping NULL or invalid Variant.

Add flags in qobject2qvariant() allowing to decide if Null and Invalid
variants should be generated. This can be used to generate more compact
JSON structures.
Polish commit e54d615a2.

Use better names, polish documentation.
Release version 1.0.0