First compiling integration of S2. A couple of quick hacks used (see TODO!s) that need to be implemented properly.
Merge branch 'next' into daniel_geo
Basic structures to operate on GeoJSON (still stubs) through S2.
Functions for converting from GeoJSON to S2 geometry objects.
Working intersection tests against polygons.
Basic geometry constructors (point, line, polygon)
Bug fixes in r.polygon and r.line
Added "geo" flag to secondary indexes and indexCreate
Distance computation with own implementation of Vincenty algorithm (buggy).
Proper error handling in Geo ReQL commands.
Replaces own (broken) implementation of the Vincenty algorithm by Karney 2013, which is faster and seems to work.
Circle command and bug fixes
Support for units and other opt args, minor refactoring.
Also allow non-standard reference ellipsoids (e.g. if you want to perform geodesics on Jupiter or something)
Improved intersection operator. Now works on lines, points etc. and considers points on the outline of a polygon as intersecting.
rectangle term, includes term. Bug fixes.
Fixed/removed some TODO!s in S2
Fix compilation errors on GCC
Fixed some compilation issues and style warnings
Merge branch 'next' into daniel_geo

Conflicts:
	src/rdb_protocol/ql2.proto
Fixed error handling for distance opt args