Move ApplicationServices (Quartz 2D) callbacks into Foundation.

Since Quartz 2D is generated to Foundation, callbacks should be there as well.