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.
As discussed on IRC - we probably should move the defaults to trusty but we should do it wholesale across the entire application, there are quite a few places which default to precise including the tests so this can be done as a follow-up