cocoalib: Replaced the "Relevant Console log" mechanism

The old grepping method wasn't reliable and now, we simply keep the last
20 logs in memory to place in that section of error reporting.
Add debugging data to iPhoto plist parsing

Fixes #233.
Don't crash on malformed integer in iPhoto plist

Simply default to 0. Fixes #214.