Add per-edge costumes

Removes global costumes.
Fix edited costumes not always being marked as loaded
Fix error with numeric defaults in dialogs
Add width scaling support for edge costumes
Decouple patterns and their images
Merge pull request #103 from Muon/master

Per-edge costumes, dialog fix, edge width scaling