Fix for using typeahead with 'valueKey' property

For twitter typehead a 'valueKey' may be passed in to chose the value to
be used in the suggestions. This key/value set was not being passed in
to 'createToken', resulting in 'createToken' to fail. (createToken was
checking for a 'string' type, however the index may be an 'integer').