I'm trying to remember back to my old college physics class and I recall that if you have a large cloud that is moving ever so slightly then once gravity collapses it down into solid bodies the small force vectors get added together and multiplied by the square of the distance between the two particles (some one who's taken physics in the last 8 years please double check this and tell us the real equation). In any event the slight motions of a very spread out body will become much faster motions in a very dense body and that is why the planets are spinning and rotating so quickly
As a consequence of Newton's laws, the magnitude of the angular momentum of a body under a central force is constant. That means if the radius of a body's orbit decreases, it's angular velocity increases. So, when gravity collapses the cloud of gas into a planet, due to conservation angular momentum, the anguar velocity of the planet increases.
Comment