some fixes

I'm experimenting vaadin7 on javaee, and really like this integration project.
I see it's under heavy develpoment, but maybe you find these small fixes useful.