Update plpaste to use permissions instead of adminonly

Change adminonly=True to permissions=["adminonly"] in plpaste
Remove duplicate code in topic()
Merge pull request #241 from MorrisJobke/remove-duplication

Remove duplicate code in topic()
Merge pull request #226 from daboross/patch-4

Update plpaste to use permissions instead of adminonly
Merge remote-tracking branch 'upstream/develop' into develop

Conflicts:
	plugins/plpaste.py