Fix broken TB2 tests

Change-Id: I1ce52065e529d471876e8aae1b53b5808089cc53
Fix menu item tooltips showing up too early (#13914)

Change-Id: Id324ed06e45e73a9383667e86651ea794c3ff322
Fixed broken OSGi dependencies in vaadin-shared (#13852)

The package com.google.gwt.thirdparty.streamhtmlparser_0.0.10.vaadin1 exports version 0.0.10.vaadin1, not 0.1.5.r10-rebased

Change-Id: I25c2964636d27a172cc83d69c5c0db64155a6fc2
Pass useLocalWebDriver parameter to JUnit.

Change-Id: I4840da6281c8be676384aa5b71bf689f7083ee36
Add load-on-startup on web.xml to make demo run on Wildfly.

Change-Id: I0cb42d918ed1af31577e5a67ddf4dbac3c9ab02f
Don't generate GWT.create for bean superclasses (#13813)

Change-Id: I20e03a79562d6bc71ae1454cbbe2d6903649c771
Fix for 'Aborting layout after 100 passess' (#13359)

'Aborting layout after 100 passes.' is caused by LayoutManager falling
into a loop on rounding fractional layout slot sizes up and down while
trying to fit layout's content in the space available. LayoutManager
round always up, that causes this issue with IE9+ and Chrome. This
change helps LayoutManager to round fractional sizes down for browsers
that causes problems if rounded up.

Browsers may fall into the loop especially with a zoom level other than
100%. Not with any zoom level though. Problematic zoom level varies by
browser. OrderedLayoutExpandTest uses zoom levels other than 100%. Test
for Chrome is the only one that really is able to reproduce error
without the fix. IE9/10 would too, but the zoom level could not be set
exactly to the required 95% for IE. Test works best as a regression test
for other browsers.

Change-Id: Ie840b074df5fed5ea3b15fba9a6fd372a5c0b76a
Update versions in OSGi manifest for vaadin-shared (#13812)

Change-Id: I75551cb500d3d35071dabcf53d71a8536806a0ca
Moved initialization of a static map to the static initialization block (#12270)

Change-Id: I82c77edf5c17c712350cb64831b305b4c8363cf7
Prevent tooltip open if cursor leaves element (#13695)

Change-Id: I81b1955aba56207cb63d78113f698c0ae65a599b
Fix tooltip positioning near screen edges (#12870)

Change-Id: I3f5244565dd393e9fcb7386d352f835b5afd9faa
Allow inlining of JsonCodec#encode (#13814)

JsonCodec#encode() is a frequently called (hot) method. However in its
current form it is too long to be inlined.

This review reduces the length of the method from 454 bytes instructions
to 311 and optimises flow of common calls.

It however has a behaviour change for esoteric edge cases where the
order would matter. Like a custom collection which extends JSONArray and
implements collection. Previously it would have been handled by the
collection case, now its the JSONArray case. However it can be assumed
that the result: serialized to valid JSON is the same.

Change-Id: Ia552eec6322d0760581336b8b038fa03761c1d69
Assigning both primary style and style name is now handled correctly (#12190)

Change-Id: Iceba6be78a49bc1aacf837b9fcd9790749be01c0
Add scrollbars to ComboBox suggestion popup if low on screen estate (#11929)

Change-Id: I8563f1e2cfc66ca89399590401fd77ec67e50e82
Removes double spacing from gridLayout which has empty rows or columns (#8855)

If row has no elements or only invisible elements, its size will be set to zero.

 When row expand ratio was set, its size will be assigned to the value according to an expand ratio.

If component takes several rows of the gridLayout, these rows are considered as non-empty and won't be removed.

Change-Id: I10ddd22a6c9535b9978769bab7b496e11a28b78a
Make tooltips stationary when hovering (#13981)

Change-Id: I44acce87ea5c37d7b210e6c6c3dd9cd511192524
Fix tooltip test problems caused by #12458

Tooltips are no longer removed but moved outside the viewport,
which broke several tests.

Rewrite related tests using TB4 to be stable across all
browsers. There are differences between browsers (e.g.
position -999 or -1000, gwt-uid-* varied between browsers
etc.) so TB2 tests kept failing on some or all browsers.

Some tests have been renamed to better indicate what they
do.

Change-Id: Ia7276871f3c26d506dc70e1719347d020b547bfc
Fix for handling selectors with both width and height ranges (#13587)

This fix splits the used regular expressions into a more manageable
parts while fixing the handling of a case where both width-range and
height-range are defined. Also refactored some duplicate code into
a helper function.

Change-Id: I98295b8b0772b33a9985c0630e065eea2281d11d
Revert "Fix for 'Aborting layout after 100 passess' (#13359)"

Causes regression with IE8:
http://r2d2.devnet.vaadin.com:8111/viewLog.html?buildTypeId=Vaadin72_Vaadin72DevelopmentBuildTb2Tests&buildId=86020

Change-Id: I6d848777b28a1d3f27a25fec778cba8d68a45690
Use GWT as maven dependency (#13616)

Change-Id: I283820c7dcca7ecd341949bb15275406fe378902