Fix autocomplete value selection in Gecko 31+

The naIAutoCompleteResult got changed in bug 754265, in changeset
http://hg.mozilla.org/mozilla-central/rev/669dff46362f .

ProviderAutoCompleteResult needs to implement this change, and the
new API should be used when getting results from other providers.