Build and run the examples during the Travis build

Fixes #200.