Refactor regexes and checks to:1) make more rules available during url-redirections and internalLinks-checks2) add rules specific to user's choice of documents-only retrieval3) improve performance (commit: f216e0d)