Broken dump of all activities to CSV file

Currently chokes on non-ascii code. CSV writer needs upgrade as do
many other parts.
Fixed dump_activities command
Dumb shell script for dumping activities
Merge branch 'dump_activities'
Fixed wrong subdir in dumped file