new basic script for line numbering in <poem> tags

it will be used to convert all line markers
from the old template-based syntax
to the new one in pure XML