Upgrade to Bootstrap 3

Rethink whole layout and UI to take advantage of offcanvas layouts, viewport filtering and other features and simplifications.
Storing the index of the annotation's parent node in the dom for rough document ordering. Still have to update the live API to suit.