Determine the callback count while iterating through all layers

Previously, if a layer didn't have a `getFeature*ForPixel` type method, the loop count would be decremented.  This means that all layers would not be considered.  Instead, the callback count should be incremented before requests are made and decremented in the callback.
Merge pull request #1274 from tschaub/callback-count

Issue calls to get feature/info for all layers.