move restful plugins to core lib
add travis