add hasAtLeastOneElementOfType() and hasOnlyElementsOfType assertions for array/iterable - fixes #202
minor code cleanup