Added CSV export and import.
Fixed issue with csv import of nil entries.  Closes #9.