Plans have been lodged to demolish a Leith warehouse and build 172 students flats as well as a commercial unit on the site.