Make mapviewer and places examples fetch tokens from the environment


Add the ability in these two examples who let the user switch provider
at runtime to fetch the tokens from environment variables.
This makes it easier to test them without having to modify the code or
to always run them with command line parameters

Change-Id: I6469414ed70522bbf3481b73e1e43a82d18302c5
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
commit6a4be78bfc0f0c51b3394a70adf76a14d45639b6
parenta63ee3d4b8d6760c344fa8b61e0cd48f9077c4b9
authorPaolo Angelelli <paolo.angelelli@qt.io>
committerPaolo Angelelli <paolo.angelelli@qt.io>
commit timeWed, 19 Oct 2016 10:04:28 +0000