Finished rdf parser unit tests.

- Fixed a bug on type changing when applying ns:type for
  abstractLicenceSet
- Shorten some lines (append works on nil slices)

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