Added new class to store a keyboard shortcut.
Added methods to load keyboard shortcuts from preferences.
Moved all default keyboard shortcuts to preferences.
Adapted menu construction to load shortcuts from the preferences.
Only show modifier when map view is not focused for modified keys
or keys which are not used in general context.
Changed preferences dialog so that it is able to show different
preference panes.