[rdf] Factorized [From|To]Literal back into rdf-common.

The typeclass instances for JodaTime and JsDate are now in separate objects.