Fix java errors when migrating to Vaadin7
Move Editor Interface to core to use it in vaadin
Fix compilation errors when upgradin to Vaadin 7