LocalShaderParam currently unusable from Lua

LocalShaderParam currently is absent from the lua bindings because it doesn't have enough methods, and anyway it would be unusable because the vital field is a void *. Solve both these problems by adding typed getter/setters to the class.

Also, make ShaderBinding::addLocalParam return the newly created LocalShaderParam, because.