Lock and textures properties

* Adds "locked" support to all entities
* Adds "texture" support model entities
* changes editModels.js to use the properties dialog box library so all these features work for editModels or newEditEntities
this code is what enforced the locked feature... basically if the entity is locked, it discards the properties except for the locked property. This runs on client and server so the rule is enforced in both places.