Better handling of long app names in Editor title bar

Adds an ellipsis if an app name is too long to comfortably fit the title bar in the Editor.
![image](https://cloud.githubusercontent.com/assets/25212/5478475/a8aef88c-85e9-11e4-94d2-a3d921f1a044.png)

Fixes #635