Bristol City have appointed Richard O'Kelly as assistant manager after reaching a compensation deal with Walsall.