Add REST server support

add codeigniter-restserver API
(https://github.com/philsturgeon/codeigniter-restserver)