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.
can we move the default to trusty? It'd even be nice to make this a config thing that we make the default whatever the charm is. So the charm's default series value would provide precise/trusty.