Merge pull request #392 from marcj/master

Fixed issue that came from the merge of the last 4 PRs.
removed un-used property blobFlag
Merge pull request #394 from staabm/blobflag

removed un-used property blobFlag
Added ObjectCollection::toKeyIndex($keyColumn).
Added test for ObjectCollection:toKeyIndex() method.