Some improvements on collections: size(), remove() and removeAll()

introduced the new interface OSizeable to know the size of certain
iterators without browsing them. New removeAll() SQL function to remove
all the occurrencies. Now remove() removes only the first one
Added asSet() and asList() method to transform in pipeline result in respectively set and list