Merge pull request #38 from krlmlr/develop

 #37: combine HORIZONTAL and VERTICAL flags in one call, call unmaximize...
always maximize/unmaximize both direction #37
fixes #37: keep width/height even if too wide/tall, maximize later instead
fixes #39: moving from and to the primary monitor and back is size-invariant; respects settings with more than two monitors