implement all_platforms options for cache/package

so that a single cache directory can be used with multiple ruby versions