Add "New" and "Open" function to the qml frontend

I've just read the source code for two days. I need some time to get familiar with the go language. Although this patch is small and easy to write, it works well, except for automatically loading the syntax highlight. I wish my work would be helpful to this project. I will continue contributing to this project.