check permission for all object property writing

when creating properties along with a new object, permission  check is
skipped
single property adding and multiple property adding are seperated
fix a bug in nav menu
show download link for 'file' object type