merge V8, 2.4 aggregation, and commands returning cursors

- Adds the V8 javascript engine as default, fixes #161
- Adds aggregation optimizations and refactoring up through 2.4.6, fixes #516
- Adds DBCommandCursor, fixes #503