Trac's AutocompleteUsersPlugin with some improvements.