Aberdeen are through to the third round of the Scottish League Cup, having edged past Alloa 6-5 on penalties after a goalless draw at Pittodrie.