Escape csv data correctly during output, issue#1

These changes use Python's csv module to output escaped csv data, rather than trying to implement csv escaping in Django templates.  This allows cell data to contain commas and newlines.  The changes try to be true to the original intent of choosing the correct data to place in a field, eg tags are stripped.