Represents application's current user object.

The user object contains settings that are fetched from the server and whatever settings the application wants to store.

// Sample user object that is fetched from the server:
     id: "1",
     full_name: "Administrator",
     user_name: "admin",
     preferences: {
         timezone: "America\/Los_Angeles",
         datepref: "m\/d\/Y",
         timepref: "h:ia"

// Use it like this:
const User = require('core/user');
var userId = User.get('id');
// Set app specific settings
User.set('sortBy:Cases', 'case_number');

// Bind event handlers if necessary
User.on('change', function() {
    // Do your thing