Misc fixes

Update node web site detection logic fixes #560.
Update web.config template fixes #309.
Update web.config detection logic for node.js web sites, this is to make sure when a new web.config template exists, it's not missed for a node.js web site fixes #512.