The create_device wasn't very accurate name. What the function does is:
- Register a new user
- Upload keys for its primary device
Also added a DeviceType optional argument to the function which will be needed late optional argument to the function which will be needed later.
Depends on D10404