clean up gui2 dialog "lua interpreter"

- There were some bad comments and includes
- Moved all implementation details out of header
- Split up functionality into model / view / controller style
- Fix copyright statement
- Add many code comments to cpp file