Literal.java update

Hi,
I've added a code to truncate too long strings to avoid db exceptions (and consequently loss of triple batch)..
I guess the LITERAL_MAXLEN should be coming from config or something, but this was just a quick fix.

Regards,
Rasta