Make caption tool available when caption selected

Currently is only available on table selection. Add in node
traversal logic to check if linear selection is in a caption
so captions can be removed when the cursor is inside them.

Change-Id: Ib1d8ad574886ce83f1fee782367b2697ab696d2d