Migrated some basic functions of ResourceEditor to WPF.
Porting ResourceEditor context menu commands.
Finished context menu commands of ResourceEditor.
Merged WPF port of ResourceEditor addin for issue #539.