implement firstObject category on NSArray

for Mac OS X devs who want to use MTLog
Merge pull request #2 from alexshepard/master

mac buildfix