more fixed related to C++ best practices

- Removes some CC_PROPERTY / CC_SYSTHESIZE
- `CCAssert` -> `CCASSERT` since it is a macro
- `unsinged int` -> `int` in some places where it could be difficult to find underflow bugs

and other minor fixes