Upgrade to django 1.6
Refactor contacts view and template

* use proper objects instead of tuples
* properly escape data in template