[Model] Move all view logic to an helper

All is in the title. This PR fixes #84 and will probably help sonata-project/SonataFormatterBundle#46