Update persistentcache.js

Major updates
Integrating portal filters and link filters into the persistent cache
(this could still use some work!)
Upping to 0.5