AutoUpdate TOC whenever document headings changes

+Added auto-update to the Table of Content when heading/content is changed/added or removed.

uses Mutation observer for changes monitoring for older browsers polling method is optional.