Typo: femplate->template

Change-Id: I3474ffd952baa7eb1103416b05930f8439a4f5ee
Extract getPageWindowOutputDevice to a common place

Change-Id: Idef06778251d7437cfce2151c6fb9654db04d3a4
Consistent naming: ViewContactOfOpenGL{->Obj}

Change-Id: I6bacdba00dfd81442919bce768ef2e7a9f8ce86e
Init an opengl context bounded to an existent window.

Via ViewObjectContact can we query a window.
It seems this window is the same which is used
by chart edit mode.

Change-Id: Ib6df4d58730774f3d86b453b8174a78bb2c8a45b