groups_to_array
Add missing headers for GCC 4.4

Review 1265 by @srh
Merge branch 'next' of github.com:rethinkdb/rethinkdb into next
Merge branch 'next' into sam_inc_iv