Use CodeComments.page instead of CodeComments.type

There was no attribute type, because we only set the page when we pass
data from the backend to the frontend.
Introduce CommentView.appendTo()

To be able to scroll to the active comment we need to know when
a comment is added to the DOM. Since we have more than one case and we
don't want to repeat ourselves, we inverted the responsibility and now
the `appendTo()` method takes care of adding a comment to the DOM and
also scrolls down if needed.
Ignore local deploy script