Complete POST /user

If `device` is given then also create a device responding with the more
complex body.

When saving device, add device to devices set, create device hash, and
finally create a token hash for token authentication.

Create Token struct for saving and finding tokens.

Add Redis data to API docs.