adding the index property that is available in compositeviews appendHtml
definition. this being here could clarify the fact that there is a third
parameter available without having to dig into the implementation of a
collection view. this change is to match the documentation as someone
could be confused due to the discrepency between the docs and the
source.