Merge pull request #29 from rsanchezsaez/dev

Fixed rare crash when verifying transactions on iOS 5.1.1.
Refactoring pull request
Merge remote-tracking branch 'official/master'