[lib][native] Move device list ops to lib
Summary:
It's good to have them all in one place. In next diff I'm adding another one which is called from lib
Extracted function to fetch latest device list - it's going to be used in a lot of places.
Test Plan: Flow, ran QR auth
Reviewers: kamil, marcin, varun
Reviewed By: kamil
Subscribers: ashoat, tomek
Differential Revision: https://phab.comm.dev/D12238