Cleaning up fix to handle suite teardown failures if keywords omitted.

- Enhanced unit tests to verify that test/keyword teardowns are handled ok.
- Renamed variables and added a comment to make code more explicit.
Libdoc: Enhancing search #1872

- Initial implementation to search by hash
- Initial styles

Now search is somewhat usesable already!