Editor: added deserialization conversions

Signed-off-by: Ivan Mogilko <ikm_spb@yahoo.com>
More gui related corrections

* Reworked GuiButton's placeholder logic
* Corrected gui conversion to runtime format in the editor
* Corrected visibility logic for guis with kGuiPopupMouseY style