added override of JObject::setProperties(), to use FOFModel::setState()

I'll write a followup post on the Google Group.