Revert "Fix files opening from command line"

This reverts commit a24d0929e25089696a41b800b7a119e2d1b790d6.

There are still problems with other command line options (e.g.
--new-window which opens two new windows).
Revert "Fix the "New Window" action in gnome-shell"

This reverts commit 3e2f1bf48f80d769c50641600225eb4a310075dd.

The commit 3e2f1b introduced bugs with the command line options.