beginning of backend file/attachment api
add item revision column and index
enforce the new enhanced permissions (not just simple access controls) on photos - caveat: the default profile photo cannot be restricted. Any such restrictions will be ignored.
file replace option for wall attachments.