added aposBeginsWith function to core to do partial string matches in nunjucks templates