get_mid_by_subject and get_fid_by_name implemented

If the fid is from public folder, it won't work