Change block detection

Fixed a bug where `object_getClass(^{})` failed to detect some blocks.

I came across a scenario where the reflection would fail to see my blocks as blocks.  The old check only checked if the blocks were type `__NSGlobalBlock__` where as some of mine were `__NSMallocBlock__`.  This PR addresses the issue.