Sort AC search results by default series - Fixes #1348290

The charm search autocomplete now sorts the results returned from the charmstore so that the promoted charms which match the users default series for their environment are listed first.
If you don't have the value set in your environments.yaml file then this is undefined.