```resizableImageWithCapInsets:resizingMode:``` is available only as from iOS6, as is
```setShadowImag```. So this should be skipped for iOS5.