[core] Improve CAP request handling
[core] Fix shutdown errors

Origin's constructor was changed for IRCv3 tags, so things that made
Origin objects had to be changed.
Add symlink to modules folder

Lets us test modules with cross-module imports, despite the fact that
that itself will break.
Merge latest master into phenny_regression_testing