Add test for rdf/base.go and rdf parser setType function.

Adds M() *Meta method for LicenceSet.
Moved the common RDF prefixes at the global scope of rdf/ package.

Formatted some comments in rdf/writer.go, tag/* and spdx/*.

Signed-off-by: Vlad Velici <vlad.velici@gmail.com>