SQLProcedures

Implemented the SQLProcedures function, which lists the procedures (aka routines, either functions or procedures, in fdb speak / SQL standard).

(accidentally put in all the squashed commits from before, the diff is correct though)