Leyton Orient come from two goals down to book their place in the FA Cup third round with a penalty shootout win over Port Vale.