[B] Use command block's world for /gamerule. Fixes BUKKIT-3274

## Issue
In vanilla, gamerules are global, across all worlds. Maps created for vanilla that use command blocks expect this behavior, which is broken when they are placed on a world that is not the default world (world #0).

## Breakdown
This commit fixes the /gamerule behavior for custom vanilla maps using command blocks when they are not on the default world.
It does not fix the issue of gamerules for non-default worlds not being changeable from the console; however, that is not covered by the Leaky ticket.

## Links
Several of these tickets were closed as "Incomplete" or "Cannot Reproduce" due to the authors providing insufficent background, namely that the world was not world #0.
https://bukkit.atlassian.net/browse/BUKKIT-3274
https://bukkit.atlassian.net/browse/BUKKIT-3479
https://bukkit.atlassian.net/browse/BUKKIT-3276
https://bukkit.atlassian.net/browse/BUKKIT-3707