Add TravisCI badge
Don't try to JSON parse nil

This causes a segfault in 1.9.3.