Misc refactoring and improve

Improv work with data buffers: remove CAbstractDataBuffer, add struct
stData
Added painting portals and data ways, showing portal caption
Added grid to scheme editor, aligning elements by grid