Fix sending commit note email to id instead email
Merge pull request #3058 from lyda/4-1-stable

Fix sending commit note email to id instead email
Revert "[import] - fix project import after refactoring"

This reverts commit e51bc7990e6cd1c8fed37b5986402c17207528c7.
[models] project.external_tracker_pattern
- add an external_tracker_pattern attribute for ability to reference bugs in outside tracker
- add matching migration
- update views accordingly
[lib] - markdown update for external trackers
- update the issue matching pattern to handle references such as bug xxx, issue yyy, as well as the original #xxx
- introduce an optional <text> regex variable, allowing back references to the original string when generating links to issues 
- use @project.external_tracker_pattern when available
[views] admin/projects
- show external tracker pattern if defined
[markdown] try to stop filter tables related tags in markdown