JSPWIKI-354: removeTemplatePart() had an off-by-one error, and therefore was not removing the template part properly.
JSPWIKI-354: removeTemplatePart() had an off-by-one error, and therefore was not removing the template part properly.

git-svn-id: 6c0206e3b9edd104850923da33ebd73b435d374d@690570 13f79535-47bb-0310-9956-ffa450edef68

tateshitah/jspwiki,tateshitah/jspwiki,tateshitah/jspwiki,tateshitah/jspwiki