The DR Congo government and M23 rebels have agreed on a ceasefire monitoring mechanism, humanitarian aid access, and prisoner releases following talks in Switzerland.