capp_lint flags deprecated CPPoint/Rect/Size types/functions

- Changed to corresponding CG types/functions in all files
- Fixed some demo app bugs