Support for CompositeIndex with custom Name

This is useful, for example, when the automatic index name is longer
than allowed.
Merge pull request #254 from jfoshee/master

Support for CompositeIndex with custom Name