replaceInExtensions can be set by options

The file extensions the plugin operates upon, which have been previously hard coded, can be overriden in the options object, to allow extensions other than .html (e.g. .php, .phtml etc.)