Make application dialogs transient and modal: Closes bgno#720794

This makes both the Preferences and Accounts dialogs modal and
transient for the parent window.  Additional code changes are to
remove logic in place to deal with previouys modeless-ness of those
dialogs.