Use addon data to check if default_locale was set in from_upload (bug 891376)

https://bugzilla.mozilla.org/show_bug.cgi?id=891376

This should fix one of the scenarios where we end up with a nameless app, because the default_locale was wrong. Also fix existing test: it was relying on 'gb', but it's not a valid locale.