Add version constant and let getVersion return this.
Improved docs.
No longer cast to int in store(), might cause problems with bigints.
No longer cast to int in store(), might cause problems with bigints.