Return an explicit value (1/0) instead of potentially undef

To avoid an "Odd number of elements in anonymous hash" warning
Merge pull request #924 from afuna/explicit-return-mobile-view

Return an explicit value (1/0) instead of potentially undef
[#940] Make the no_mobile cookie stick around for 10 years

Fixes #940.
Merge pull request #941 from afuna/no_mobile-persist-bug-940

[#940] Make the no_mobile cookie stick around for 10 years
Merge branch 'release-1.22' into develop

* release-1.22:
  [#940] Make the no_mobile cookie stick around for 10 years
  Return an explicit value (1/0) instead of potentially undef