(fix) add explicit 'static lifetimes to val types

Fixing #26. This works in my example app, and it seems like `'static` is right for the "normal" way to use Persistent, but I'm not sure if something else could work and not impose the limitation that the val be valid for the lifetime of the process.