M-brane models from non-abelian gerbes