Refactoring of View classes.

- let MapFrame act as the controller for a map document
- replace DocumentManager with FrameManager
- adapt test cases

Signed-off-by: Kristian Duske <kristian.duske@gmail.com>
Smarter frame positioning

Signed-off-by: Kristian Duske <kristian.duske@gmail.com>