strip slashes for xml string if magic quotes are turned on.

Fixes #145, #149, #158