Travis: Install json-c dependency from repos
Fix compatibility with json-c <= 0.10

Ubuntu 12.04LTS has 0.9.x, which is still commonly used.
Fixes #1