Initial working version of RDF parser

Signed-off-by: Vlad Velici <vlad.velici@gmail.com>
Small typos fixed in rdf writer

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