Include header in CSV exports

This allows translate-toolkit to automatically detect file and makes
import work (issue #256).
Add test for csv and po import to dictionary (fixes #256).