update to rails4
add batch_request with custom request
finished middleware
update task.js
finished batch api requests
Merge pull request #37 from xiongbo/master

finished 414 batch api request