PG: refactor calc_acting to handle pg_shard_t changes

Signed-off-by: Samuel Just <sam.just@inktank.com>
PG: introduce calc_ec_backend

Signed-off-by: Samuel Just <sam.just@inktank.com>