OP-421 Fixed bugs which were causing REST integration tests PersonalWidgetDefinitionControllerSpec to fail. Reduced warnings