Custom NSScrollView + ClipView to draw page guide properly

The document now uses a custom NSScrollview and NSClipView that handles the drawing of the page guide and the editor's background color.

This prevents having a blank space when scrollview elasticity is enabled.
It also moves some of the code in DuxTextView.m which is starting to get long.