Update metadata.php

added TOC configuration
Update default.php

Added default configuration of TOC
Update settings.php

added show TOC tab