Update application model that's a hybrid of the way
that Gnome Cheese and Yorba's Geary works.
* Also started connecting the GUI from Glade to the Vala code
* Some small error corrections
Resolve merge conflict