Update example gadget per Versal style conventions

Biggest items:

- 2 space indents
- prefer `obj.property` to `obj['property']`
- only use PascalCase when naming constructors or classes
- newline at EOF