File entity changes

Change checks to correct entity
Make metadata fields locked
Change media edit form to file_entity edit form