A Dictionary-Based Generalization of Robust PCA Part I: Study of Theoretical Properties