Change API for TableElement (#15088).

- getCell should throw NoSuchElementException: it already did because of
a method call. Added some tests and @throw in JavaDoc
- removed getHeader
- getHeaderCell now returns TableHeaderElement
- removed getValue

Change-Id: I5f8747f5276a7d9376af4128dc0558931c153060