Move Gambatte core into its own repository and add it as a submodule.