Replaced access to System flags.nstaves with numberOfStaves method

Commit by leighsmith :: r155 /trunk/Calliope/Application/System.m: (link) Replaced access to System flags.nstaves with numberOfStaves method