Category for encoding CGPoint, CGSize and CGRect into unsigned long long values.