Adding django templates for generic views for manipulating template objects.

Signed-off-by: Rob Dobson <rob@rdobson.co.uk>
Updating gitignore to not care about swp files.

Signed-off-by: Rob Dobson <rob@rdobson.co.uk>
Adding generic view code for manipulating template objects.

Signed-off-by: Rob Dobson <rob@rdobson.co.uk>