First working draft of 'attachment' picker for CKEditor

Includes refactoring of pickers to try to share some code - need to refactor again to promote more DRYness
Cleaner method of distinguishing image and attachment config forms in shared view & js code

[skip ci]