SLE12 support (bnc#900660)

- includes some more bug fixes which I found during testing
well, I think it deserve to say what special characters? One defined for URL? or html entities?