Add selected_snapshot RPC
Context
This MR adds a RPC that replaces the deleted roll_snapshot
one which fixes the rewards distributor tool that depended on it.
Fixes #2485 (closed)
TODO: unWIP it when it is made sure that this solves the mentioned issue. @Ochem
Manually testing the MR
Edited by vbot