Adding seo strict urls functionality to parser

This patch prevent adding suffix to folder documents urls
E.g. http://example.com/news/ instead http://example.com/news.html