Optimization for compose (breaking)
Compose test coverage
Merge pull request #1700 from megawac/compose

Breaking: Optimization for compose
Tweak style of _.compose.
Use a while loop.
Merge pull request #1702 from braddunbar/compose

Tweak style of _.compose.
Capture initial index.