SERVER-13737 Pull CollectionOptions out into libcollection_options.a
SERVER-13737 CollectionOptions parser skip size/max if non-numeric
SERVER-8492 Change socket check to be sun_path[0] != '\0'

Signed-off-by: Benety Goh <benety@mongodb.com>
SERVER-14015: Fix S2 Compilation on GCC 4.9/Solaris by choosing sqrt(double)
SERVER-10177 Remove all Js instances of "throw 'string';" with "throw Error();"

Includes both the initial patch to remove all throws and patches for all failing tests

Signed-off-by: Benety Goh <benety@mongodb.com>
Merge remote-tracking branch 'upstream/master'