add a mode to use the size hint from the current item

This gives `Notebook` and `Stack` a `size_hint_mode` attribute. The default mode 'union' represents the current behavior where the size hint of the notebook|stack is the union of the size hints of its children. The 'current' mode puts the widget into a mode where its size hint will be the currently selected tab|stackitem.