Moved the protected normalizedIndex method up to the Collection class since it may be needed by any collection subclass.