Create StaticMetadataValue with substantial speed improvements

Because this was removed from crast's massive metadata overhaul, I'm
adding in my my own little repo because it is cleaner and provided
significant speed and memory improvements.