Update Python syntax and class definitions / style
- properties now use the @property decorator
- the assert statement is used in some places to enable disabling checks
Merge pull request #300 from cshorler/python_properties_and_assert

Python properties and assert