fix privilege escalation vulnerability

Conflicts:
	src/General/Settings.coffee
	src/Quotelinks/QuoteBacklink.coffee
also fix a small bug