Treat popup value property when completing candidate

This is same as #185
Merge pull request #288 from auto-complete/improve-candidate

Treat popup value property when completing candidate