Add Travis CI control file
Add generated files to .gitignore

Rearranged slightly from Hanspeter's patch by putting the examples/
patterns into their own examples/.gitignore file.
Ensure travis's $(CC) overrides our Makefile's
Fix thinko: a shell variable, not a make variable