Changed  Makefile
Fixed EditorUI().guessMode()
Moved guessMode() to own file (js/mode.js)
For further improvement of guess algorithm
Added modeByPattern() to which guesses language mode using patterns.
Examines editor buffer using regex's
Fixed toolbar styling