adds nesting depth limit to python driver
adds PY regression tests for #1133
adds nesting depth limit to js driver
adds more regression tests for #1133
get all polyglot tests passing for #1133
fix last JS tests
merge nesting depth code
js tests passing
fixes #1257
adds func context to JS asc and desc
adds func context to PY asc and desc
contains, count, indexes_of wrapped for PY
contains, count, indexes_of wrapped for JS
correct func_wrap behavior for JS orderby
correct func_wrap behavior for PY orderby
fixes #1248
Merge branch 'next' into post_dates_driver_tweaks
fix broken JS cursor test
Merge branch 'next' of github.com:rethinkdb/rethinkdb into next

Conflicts:
	test/rql_test/src/times/index.yaml