Add version parameter to "restorePeristentState"

This should make handling legacy session files easier, and solves an issue with a current GWAS parameter clashing with a legacy parameter for other tracks

IGV-2059
Add test for loading session with GWAS track

IGV-2059