Make getOption RPC method return option for stopped downloads
Add test for recent changes in SessionSerializer