use select-index to select the card on creation

if select-index is available on the deck on creation
and if no children has the selected attribute it will automatically
select the card.

Fixes #15