Code copied from old East Africa version
Add in the code for the weberp integration system configuration flag.
Add in extra flag for the xml-rpc server to avoid hard coding of URL
Escape the name of the insurance company to work where there are apos…
…trophes in the name