Remove the ability to switch language to the current language

The "Restart brackets" button will be disabled if you select the current
lang in the "Switch Language" dialog.

Tested on Windows 8 with Brackets 0.32 master c05cfd5
Fixed indent
Update main.js

Thanks for the tip ;)
Implementation for this story https://trello.com/c/gbBtpARq/709-1-define-default-html-file-for-live-development

Implemented fix for https://github.com/adobe/brackets/issues/2033

Added a lot of test cases to cover the new functionality.
fixed some of the issues mentioned in the review
fixed some issues mentioned in the review

- added some forgotten waitsForDone() calls
- added a missing test case for dynamic-project-6
- check document and if it doesn't have a masterEditor before adding the document to the workspace
- removed the waits() call after invalidating the FileIndexManager
- re-enabled the message dialog if no suitable document was found for Live Preview
Merge pull request #5287 from SAPlayer/patch-5

Remove the ability to switch language to the current language
Merge pull request #5414 from adobe/irichter/open-default-html-for-live-development

Implementation for this story https://trello.com/c/gbBtpARq/709-1-define-default-html-file-for-live-development