Retrieves the current version of the list.
public int getVersion()
Returns the version of the list.
The version is incremented when any change is made to the list.