Fix for #518

Add ctrlSpace parameter and set AutoCompleteUniqueMatch appropriately.

![single match completion works](https://cloud.githubusercontent.com/assets/588746/2851642/6d138f98-d11e-11e3-8457-786b55258131.gif)