First draft of NSPopover use for login view

Will still use NSWindow when OS version < 10.7