fix sprite frame cache, and remove unnecessary headers dependencies.

we should add private headers for ccs, do not expose privae headers to users.