added the version number

This should implement #7
Merge pull request #49 from bastibe/version-number

added the version number
Merge pull request #50 from bastibe/refactor-tests

Re-factor tests
Raise error if write pointer shall be changed in read-only mode

... and vice versa.