Some work to add the terminal icon on the toolbar

I had no way to try if my code works (this because when I clone this extension it does not load in Brackets), by the way I've done some work to fix #744