Returns an array of keys for this object. If `attributes_only` is true will not return keys that map to a `function()`
function(attributes_only) {
      var keys = [];
      for (var property in this) {
        if (!_isFunction(this[property]) || !attributes_only) {
          keys.push(property);
        }
      }
      return keys;
    }