update nodefactory template to fix problems - use MessageFormat.format rather than String.format, update version to 4.0.5