Added testing of the API by dredd & TravisCI.