BibEdit: use WebDriverWait to wait for JS refresh
- Enriches the helper function "find_element_by_id_with_timeout()" to wait for an element and its correct content which is changed/refreshed using JavaScript.
- Amends BibEdit web tests with the new improvement.