Revert "Remove panic not needed since Go 1.1."

This reverts commit 53e2fd742178e57de941ebf86a728c360c03020b.
Add .travis.yml and Travis-CI badge to README.