Added .travis.yml for Travis CI support.
Changed behavior of pop to raise an exception when popping from an empty list.