Ported over SQDL2 from Baystation. A query language for debugging the game.

Ported /bay/station's SQDL2 which can be used to help debug code and features, by using queries to select and filter objects, and then make changes to them.

I modified the code to add support for calling procs via SQDL.