Compatibility with older version of base, enable travis-ci, depend on attoparsec and some minor cleanup