Code cleanup.

- Unnecessary @synthesize lines.
- Scalar sign/size issues.
- Change enums to typedefs.
- Spelling errors.
- New literal syntax for number, arrays and dictionaries.
- ivar naming conventions.