Fix constructor not passing down proper values

Internal constructor needs to pass down the arguments, so read-only
snapshots are created properly. This allows serialization to work as
expected. Also add serialVersionUID to fix some warnings.

Signed-off-by: Robert Varga <robert.varga@pantheon.sk>
Merge pull request #9 from rovarga/fix-broken-serialization

Fix constructor not passing down proper values