Fixed a potential KVO crash.

The contentSize keypath should also be removed when showsPullToRefresh is set to NO.
Fixed an animation problem on iOS 7

Immediately layout subviews when changing state, otherwise changes in layoutSubviews will be animated on iOS 7.
Merge pull request #133 from nonamelive/master

Fixed a potential KVO crash.