make MetridocScript an extension

made it an extension, changed tests appropriately
Merge pull request #92 from metridoc/metridoc-script-extension

make MetridocScript an extension