Refs #5958 - content-view puppet modules

Various fixes. See commit messages for details.
This one is different. You're removing the puppet module from a content view (paired with `content-view puppet-module add`). In fact you're deleting the linking record but semantically it's remove.