Fixes #1877 Forum Jump doesn't obey SEF urls setting
Fixes #1879 Thread drafts don't remember prefixes
Merge remote-tracking branch 'upstream/feature' into feature
Fixed SQL error with PM sorting