Implement indexPathForObject: on NITableViewModel and NICollectionViewModel.

Implement indexPathForObject: on NITableViewModel and NICollectionViewModel so that index paths of objects in the model can be retrieved outside of table/collection view cell interaction.