Fixing non working autocomplete

The autocomplete field before was always searching for %, and not the
string written by the user.
Rewrite autocomplete query

Rewriting of the autocomplete query to follow Drupal coding standards.
And no need to use LOWER(). LIKE is already case insensitive in
utf8_general_ci.