Refactor Renderer. Move every common code to renderer class.
Merge branch 'master' into UserInterface

Conflicts:
	source/raytracer/pathtracer.cpp
	source/raytracer/pathtracer.hpp
	source/raytracer/raytracer.cpp
	source/raytracer/raytracer.hpp
	source/raytracer/renderer.hpp