Added travis, code climate and gemnasium
Add json for compatibility with ruby 1.8.7