Extended Cahill-Glauber formalism for finite-dimensional spaces: I. Fundamentals