Adding extra info to index debugging

- adds git build reference and version name
- accompanying unit tests

Refs #50