Don't mess with the collection unless ido-allowed

In "completing-read-ido", when ido-allowed is false, then the collection
should not be modified or inspected. Fixes #46.