fixing count/remaining for GatherBlock.
Merge branch 'aql2' of ssh://github.com/triAGENS/ArangoDB into aql2
first attempt at GatherBlock::nextValue
GatherBlock non-simple case implemented.
less locking
Merge branch 'aql2' of https://github.com/triAGENS/ArangoDB into devel
fixed compile warnings