Updated for iOS 8

Moved some SQL into CRStatsProvider, created iOS 8 hooks
Updated for iOS 8

Ignored build files