Add unit tests to chutney, and run them in Travis

In legacy/trac#29729 (moved), we want to add unit tests for each chutney module.