Fix store handling of _encode and _decode and fix of storage events
Merge pull request #27 from sebastian-software/fix/abstract-store

Fix store handling of _encode and _decode and fix of storage events