reduce queries for fetching many node`s data

As described in the cmf-mailing list (https://groups.google.com/forum/#!topic/symfony-cmf-devs/Bv3REKYwT80), this would be my first changes for reducing queries. There is still an test issue i will solve later.
could we reuse this method in ``getNodesData()`` so that we do not duplicate this logic in 2 places?