unpickle handles objects with custom state

added example
Merge branch 'master' of github.com:arel/pkls