Added #batch method to the base class.
added rspec as a dev dependency
ensure json is required
declare urls as an array, otherwise method assumes 2nd url is part of options
updated tests.