Added image field

This PR:

- Adds an ImageURL field to the IndexMetadata and Document.
- Adds a TestAdapter
- Addsd get/set/has methods to the Document class

BC: NO
Ah, sry, then forget about it :)