DataModel = function(endpoint,noPrefix) {
          // Initialize default values.
          this.object = {};
          this.objects = [];

          // Cache parameters
          this.cache = {
            count: {},
            fetch: {},
            load: {}
          };

          // Is scope used with data model or not, if yes this is actual scope
          this.scope = false;

          // Scope item names for single, collection and count
          this.itemNames = {
            object: false,
            objects: false,
            count: false
          };

          // Subscribe to specified endpoint
          if (endpoint) {
            this.endpoint = noPrefix ?  endpoint : 'api/' + endpoint;

            this._subscribe();
          } else {
            this.endpoint = false;
          }
        }
Constructor for actual data model.

@param   {string}  [endpoint]  Name of the API endpoint
@param   {boolean}  [noPrefix]  Don't use the the /api prefix
@constructor