Add a reusable autocomplete result type that doesn't depend on Mork. Components
can easily provide autocomplete results using this interface and
implementation. This patch fixes some style and portability nits.
git-svn-id: svn://10.0.0.236/trunk@184367 18797224-902f-48f8-a5cc-f745e15eee43