small refactors to actionview renderers
marking private methods which dont work if called on their own anyways
adding missing test coverage
Merge pull request #16224 from egilburg/renderer_refactors

Some ActionView renderer refactors