Profile autodetection now makes partial matches user-visible.

- Refactored guess_profile to understand partial matches
- Minor bugfixes.

BUG=
R=scudette@gmail.com

Review URL: https://codereview.appspot.com/101330045