1.10.x: Move to local import to reduce dependencies for client
(cherry picked from commit 5599704e)
This is needed by my simulator to be able to import shutter and motor states.
Else a looooooot of dependencies are fetched for no reason, like the RPC.