On Feedback Invariance properties for Systems over a Principal Ideal Domain