[api][webui] fix issue tracker url and regexp code

Fix places in webui where issue trackers url, regexps and logic are
hardcoded instead of using the issue tracker model
(would break if an admin is reconfiguring the data otherwise)

Run over all issue trackers for markdown now as well