Messages Django 1.5 updates

Updated for django 1.5
1. switch to class based views
2. fix url template tags
3. update tests (all passing)