Added proper error hanlding along with documentation in render module
made stuff more fine
added assertions in loosentree
added exception information
added documentation for shader, uniform and vertex attribute