Make ircd.storage keep a cache and write back every 5 sec

This prevents performance problems due to pickling and unpickling a thing thousands of times
Merge pull request #9 from ekimekim/shelve-cache

Make ircd.storage keep a cache and write back every 5 sec