SERVER-12127 migrate js tests to jscore suite when not related to writes

Added relevant getLastError tests to jstests/gle/core
Merge remote-tracking branch 'upstream/master'