Code review fixes

- Added "required_" prefix to some variables
- Reordered arguments to avoid kwarg issue
- Fixed some indenting
- Fixed bug with applets in Python templates
- Added mode to test where it will run actual jobs (which will then go
  through output checking)