whole_func_string: function(obj, type) {
        for (var id in obj) {
          this.MESSAGE_IDS[id] = { id: id, message: obj[id], type: type||"message" };
        }
      }
func_code_string: function(obj, type) {
        for (var id in obj) {
          this.MESSAGE_IDS[id] = { id: id, message: obj[id], type: type||"message" };
        }
      }
func_documentation_string: Adds message IDs; this is a method because it allows other components (eg qxoodoo-cli) to
  use it
  
  @param obj {Object} map of id strings to message text
  @param type {String?} the type of message, can be one of "message" (default) or "error", "warning"