slightly modified version of BlocksKit's attributedobject category in
objective-c to work around rubymotions issues with real pointers.
BlocksKit no longer required, but might come back
bump