Improve CrudRestController behavior when requesting json and create test suite, also add travis continuous integration