Change terminology: components => elements

To match React 0.12
Add propTypes checking to config elements