support for 2 new callbacks in the storage api : 'count' and 'index'

count returns the number of keys stored/owned by the istance
index fills in an array of structures holding a copy of the stored keys
and the size of the stored data