some minor cleanup in snakview related files

Also fixes a problem with function signature in snakview.variations.newFromSnakType

Change-Id: I6967f3668611705062fa373ddf2fe99a3b298dff
Merge "some minor cleanup in snakview related files"