Add SQL database traps
Add engine database traps to access the engine database directly without duplicating function in qagame.
This would make Legacy mod dependent on ETL server (which is kinda is already somewhat, as the DB is being created by the engine).
- Add engine trap for db access
- Add Lua binding
- Adjust existing functions (skill rating).