Implemented XEP-0203: Delayed Delivery

Hi guys, I've implemented offline messaging storage according to XEP-0203.
Let me know if it's ok to be merged into master.