refactor lua job_submit bindings

- use native tables for everything that you can just index without any
  setup, so user scripts don't require any boilerplate setup code for them
- add reservation state in slurm.reservations