Fixes 'OEGridView' post_install hook can't convert String into Integer error.

It seems that the implementation of xcodeproj in CocoaPods has changed recently and the attribute hash has to be accessed differently, hence the "can't convert String into Integer" error. Should fix issue #2.