DoNotSend and toApp fixes

* Adds explicit handling of DoNotSend exceptions sent from ToApp
* Passes messages to be resent through ToApp for approval

Unit tests demonstrate fixes to #266 and #267