Moved SessionContext and TemplatingService out of the CustomLayoutView.
Instances of these classes can now be obtained from VaadinUIServices.