Rename: IndexFunction -> Indexer


To be consistent with iOS code, rename "IndexFunction" -> "Indexer". There are no functionality changes. 

https://cloudant.fogbugz.com/f/cases/27972/Change-indexFunction-to-indexer