odatagen: Fixed semantic errors
odatagen: ARC friendly for Xcode 4.4

- Removed release message calls
- Removed autorelease message calls
- Changed assign to weak in properties
- Change retain to strong in properties