Adding REST support from https://github.com/chriskacerguis/codeigniter-restserver