Adapted code to new interface of VaadinUIServices.
Added configuration for compiling an optimized widgetset.