PoliCym: Rapid Prototyping of Resource Management Policies for HMPs