Show the main window on launch if hide-when-inactive is disabled

When coupled with the show dock icon option this provides a more
consistent launch experience - the main window appears at the same time
the icon is shown in the dock.
Only close on cancel if hide-when-inactive is enabled

The cancel action does not typically close windows for a regular app.
Reopen the main window for dock icon click or relaunch
Set per-project whitespace setting
Fix find bar display

Show and hide the find bar by adjusting the value of its height
constraint, then tie the top of the web view to the bottom of the find
bar.
Merge pull request #3 from mattstevens/regular-app

User experience tweaks when running as a regular app
Merge pull request #6 from mattstevens/fix-find-bar

Fix find bar display
Negate the logged search time.
Merge branch 'master' of github.com:beelsebob/Stash
Merge pull request #4 from mattstevens/project-settings

Set per-project whitespace setting
Separated out the window controller from the app delegate.
Dirty hack to get windowDidLoad called.
Removed auto layout.  Causing too many headaches.
Merge branch 'master' of github.com:beelsebob/Stash
Minor code cleanup.
More minor clean up.
Update STAAppDelegate.m
rename daft function name
Correctly deal with no row selection
assorted app code fixes for code quality, type safety, useless imports