Merge pull request #263 from mozilla-services/dev

Sync to Master

*REQUIRES TESTING*
Merge pull request #276 from mozilla-services/dev

Update for RC 2
Issue 312 -  fix for unpref'd language order

* Sending in languages without q= preferences resulted in only one of
the languages being picked rather than the first. Since double sorting
the list is probably overkill, I'll prefer the top 10 unprefixed
languages over anything beyond that. Based on the idea that if you can't
find anything by then, you've probably entered invalid language codes.
cleanup decrement
Merge pull request #313 from mozilla-services/l10n-the-final-frontier

Issue 312 - fix for unpref'd language order
Travis error is a glitch due to a false error during go init
Merging.
Merge pull request #314 from jrconlin/dev

return original if translate table has a 0 length
Show English input if localized string is empty.
Merge pull request #315 from mozilla-services/more-english-less-blank-dot-js

Show English input if localized string is empty
bump version to 1.4.1
Merge branch 'dev' of github.com:mozilla-services/FindMyDevice into dev
Bump version to 1.4.2
Merge branch 'dev'
Merge 1.4.1 to master
Bug 1087140

High Priority: Add version to Push requests.
Merge pull request #316 from mozilla-services/bug/add_version

Bug/add version
util: vet fix

Fix the following vet report:

util/log.go:120: arg err.Error for printf verb %s of wrong type: func() string
wmf: vet fixes

Fix the following vet reports:

wmf/handlers_test.go:43: missing argument for Errorf(%s): format reads arg 2, have only 1 args
wmf/handlers_test.go:277: possible formatting directive in Error call
wmf/handlers_test.go:286: missing argument for Errorf(%s): format reads arg 1, have only 0 args
wmf/handlers_test.go:308: possible formatting directive in Error call
wmf/handlers_test.go:364: possible formatting directive in Error call
wmf/handlers_test.go:392: possible formatting directive in Error call
wmf/handlers_test.go:433: possible formatting directive in Error call
wmf/handlers_test.go:439: possible formatting directive in Error call
wmf/handlers_test.go:447: possible formatting directive in Error call
wmf/handlers_test.go:485: missing argument for Errorf(%s): format reads arg 1, have only 0 args
wmf/handlers_test.go:494: possible formatting directive in Error call
wmf/handlers_test.go:549: arg err.Error for printf verb %s of wrong type: func() string
wmf/handlers_test.go:553: arg err.Error for printf verb %s of wrong type: func() string
wmf: vet fixes

Fix the following vet reports:

wmf/hawk_test.go:56: possible formatting directive in Error call
wmf/hawk_test.go:67: possible formatting directive in Error call
wmf: vet fixes

Fix the following vet reports:

wmf/utils_test.go:106: possible formatting directive in Error call
wmf/utils_test.go:110: possible formatting directive in Error call
wmf/utils_test.go:114: possible formatting directive in Error call
wmf/utils_test.go:118: possible formatting directive in Error call
wmf/storage: vet fixes

Fix the following vet reports:

wmf/storage/pg.go:533: arg state for printf verb %b of wrong type: bool
wmf/storage/rcs.go:234: missing argument for Printf(%+v): format reads arg 3, have only 2 args