Add most of the rest of the LSL and OS constants and function stubs.

Most of the very new ones are missing.