Changes to support the modification of envelopes. This also includes various changes to mark them as sent and received.

I learned a lot of niftiness about mongo updates, changed the functions provider to use the asynchronous mongo fun and built a dummy data model object that services no purpose but to help the engineer conceptualize what an envelope should look like.

This clearly needs some real unit tests.