Add include directives for locale.h
gschem: Run %copy-objects-hook for copy and copy multiple modes
gschem: Make bottom widget show middle button function consistently
gschem: Successive pastes run the %copy-objects-hook

By adding the following lines to the gschemrc file, gschem will reset refdes on component
copies, and avoid duplicate refdes.

(load-from-path "auto-refdes.scm")
(add-hook! copy-objects-hook auto-refdes-reset!)

Additional refactoring moves variables from global scope to file scope.
gschem: Handle non-recursive symbol directories correctly
gschem: Fix double-click behavior with overlapping objects

Closes-bug: lp-912978