added ntriples writer

Added ntriples writer.
Why would you need a test for `isLiteral` at this point?