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

Migrate js tests starting from j-z.
Include SERVER-12920 Update use_power_of_2.js

@renctan jsCore passed in "command" and "compatibility" mode. sharding_jscore_passthrough.js passed too.