openchangedb/indexing: Handle indexing url validation in openchangedb layer

Indexing URLs must not:
- be NULL
- be empty

Also add a test case for this