Move osl shader execution out of ShadingContext.
Merge pull request #346 from est77/OSL_work

Move OSL shader execution out of ShadingContext.
many small fixes, refactorings and cleanups.
Merge branch 'master' of github.com:appleseedhq/appleseed