Naming conventions: keep analyzer happy
CLANG complained about possible nil key or value
Fixed error check
Casts to keep the compiler happy
Casts too keep the compiler happy
Use 10.7 NSRect conversion if available
Make sure not to mutate enumerated collection
Let the compiler know about a 10.7 only method
Check image source before use

Image source may be incomplete or damaged
GC compatibility
Fix cast to match return type
Added Lightroom 5 support

The Lightroom 5 code was intially written for
github.com/iMediaSandboxing and adapted to fit the iMedia 2.6
architecture
Query generation methods are now instance methods

They check self.mediaType when creating the query SQL
Added Lightroom 5 video parser
Expose iMedia/IMBLightroomObject.h
NSURLBookmarkResolutionWithSecurityScope

does not exist on 10.6
mkstemp creates a file. We want a directory
NSURLBookmarkResolutionWithSecurityScope
Syntax not supported by Xcode 4.2
Keep compiler happy