added a textured flag for shaders, removed graphics include from a few things

also updates common
Raycast tests and lots of lua bindings for them

updates common with scripts that use them