Add ajax and restAPI sample in mobile-sample project.