Changes to rely on fog-core

This references `fog-core` and removes the files it now contains.
Merge pull request #2663 from fog/use_fog_core

Changes to rely on fog-core