Add -reset-state command line argument

This resets the window state (geometry, splitters etc.) but keeps other
persistent settings (-reset-settings) and configured connections
(-reset-connections) intact. To reset it all, pass -reset.