Various enhancements: enable travis/coveralls, removal of trailing spaces, modelines, consistent access to tests/data