Helper for creating css class strings inspired by ReactJS classSet