Implementing django's message framework.

This closes #48