Added more ducmentation and fixed more bugs

- Renamed mergeRightLeft to mergeLeftRight
- Renamed distinct to nub
- Changed run' to return JSON instead of Value because it has a better Show instance
- Added more examples to the documentation
- Made Javascript instances for (->) more liberal
- Made update and replace accept functions that don't return ReQL explicitly
- Fixed a pattern match failure in groupBy,