add `current_index` attribute to Notebook

This PR adds a current index attribute to the Notebook. This is useful if you need to know which page is selected at any given time.

I have only implemented this for Qt. I do not know wx or how long it might take to implement it there.