Issuse #4608: Minimize the size of engine core

Issuse #4608: Minimize the size of engine core
  1. CCDirector