improve OS X 10.7 support

Switch to respondsToSelector: and silence warnings.
changed the designator of property "observer" to assign.

in OS X 10.7, creating weak reference to instances of NSFontManager, NSFontPanel, NSImage, NSTableCellView, NSViewController, NSWindow, and NSWindowController is not possible.