Only modify message contents if the context is encrypted

This fixes #65.

Not sure if the updated tests are optimal. I've basically copied most of the code from `test_otr_session.py` to ensure the context is encrypted and then send a message through that encrypted context and look at the result on the other side (without `html_filter`).