Fixes for TabSheetElement.openTab (#13734, #13735).

openTab now throws an exception if no tab with the given caption is
found. The search for tabs is limited to the current tab sheet also in
the case of nested tab sheets.

Change-Id: I0ea12587acc370efe2c8a7cec27d9fbfa6b80547