add rest api test by casperjs
add travis ci setting yml