Migrated CustomCollectionViewLAyoutAttributes to unified api

- Cast double to float
- Change CGRect.CGSize to .CGSize
Change CustomCollectionLayoutAttributes.CGSize to .Sie
- Use nfloat.IsNaN instead of float.IsNaN