Cherry-pick version 2 ORM changes patch from runlocal branch,  Remove MNode from MFileLocation; Add Device class and create/del APIs; Change backup/nas device handling;