More work on ItemsControl.

Stole the implementation from Moonlight. With a big of massaging, now
works with both Items collection and ItemsSource binding!