fixed regresion on openchange deVDomainAbort
defensive code in _writeRewritePolicy
Merge pull request #1177 from Zentyal/jag/oc-outgoing-domain-fixes

Fixed bad merge regresion in checking of outgoing domain on removal