adds upsert to optarg white list in js driver
Merge branch 'ql-refactor' of github.com:rethinkdb/rethinkdb into ql-refactor