Update event.lua

* Use damaged() shorthand
Add action.lua

* Various action functions including cruise computer
* Still incomplete
Update klingon.lua

* Fix math.random without ()
  in M.attack()
Update move.lua

* Use math.pi to describe (pi/180)
Update action.lua

* Conversion to lua code ended
* Added M.computer(), M.abandon(), M.capture(), M.help()
Update initquad.lua

* Set Etc.klingon[i].srndreq to false instead of 0 in M.initquad()
Update move.lua

* Fix trek.klingon.compkldist(0) to trek.klingon.compkldist(false)
Update init.lua

* Add trek.action initialization
Update play.lua

* Enable new functions in trek.action
Update action.lua

* Miscellaneous syntax error fix
* Remove C code remnants
* Variable and function scope fix