Moves as much common gyp configuration to common.gypi as possible.