gatherCapabilites function

Right now I hardcoded the function so that it will only run getCapabilities on the first url in the array it is given.  I tried using underscore's 'each' function but couldn't get it working.   

@rclark @jalisdairi