Previously we were abusing FSEvents by re-registering for notifications on watched nodes
on every reload. I noticed during testing with aggressive reloads that it was actually
possible to fry the FSEvents system so that it stopped registering new events.

I added an assertion in addPath: in UKFSEventsWatcher, to ensure that in normal
usage no path is ever registered twice.

I added new helper methods in IMBLibraryController to centralize registration
and deregistration for FS events. Then I added a new call in -reload to
ensure that any existing event registrations for the nodes we are about to
reload get unregistered before reloading.
Oops, fix some warnings and adopt the underscore-prefixed convention for private methods.
Rename newNode property to replacementNode to avoid naming convention warnings with clang.
Merging with karelia/master to make for an easier pull request to Mike.
Be sure to canonicalize the watched path in removePath as well as in addPath. This addresses issue #55.
Somehow I missed a spot where newNode needed to be changed to replacementNode.
Remove the NSAssert when trying to addPath the same path twice in IMBFSEventsWatcher. This is a legitimate intent because for instance the client may have two nodes that it is monitoring changes in, that happen to be backed by the same path on disk. Example: a Lightroom Library file and the folder that contain it could each theoretically be monitored in the library view.
Implement reference counting inside IMBFSEventsWatcher, taking care to remove FSEvents registrations only after the number of removePath calls balances the number of addPath calls that we have received.
Yikes. Git newb move, I accidentally scheduled and commited the merge conflict resolution files. Undoing.
Anchor the ibIconView (IMBImageBrowserView) to edges, to make sure it resizes as expected. In future Mac OS X releases, the current behavior may not be guaranteed.
Switch over to NSMapTable internally since it seems likely Apple will close the CFDictionarySetValue loophole.
Merge pull request #58 from gloubibou/master

Backport from iMedia 3.0 of changes to Lightroom parsers
Chinese string update
Switch to NSCountedSet for tracking the "retain counts" of paths we are watching.
Merge branch 'fix-fsevents'
Merge pull request #51 from danielpunkass/fix-fsevents

Fix for repeatedly oversubscribing to FSEvents on reload
Merge pull request #57 from danielpunkass/fix-iconViewResizing

Fix icon view resizing
IMBLightroom3or4Parser.h and IMBLightroom3or4Parser.m were not part of the Xcode project and IMBLightroom3or4Parser.m was missing from the Compile Sources build phase. Fixed now.
Merge pull request #59 from jfahrenkrug/master

IMBLightroom3or4Parser.h and .m were not part of the Xcode project, which resulted in a failed built.
Merge remote-tracking branch 'upstream/master'