[web] Add dispatching SET_DEVICE_ID action
Summary:
I added a copmonent re-rendering on device ID change and setting a device ID whenever the device ID is null.
On logout/account deletion/cookie invalidation the reducer sets device ID to null, causing SET_DEVICE_ID action to get dispatched.
For now the device ID set on the login/create account screen is also used after login/account creation as I didn't find any reasons not to.
Persistance has not yet been added
Test Plan: Test using redux tools that the device ID is present and changes on logout, cookie invalidation and account deletion.
Reviewers: tomek, atul, jacek, ashoat
Reviewed By: tomek, ashoat
Subscribers: ashoat, abosh
Differential Revision: https://phab.comm.dev/D4886