pass osg graphics context to world/physicswrapper

We need this to create osg buffer objects for apex.
extend particles error handling
add some stuff, resource callback without resources