Fix bugs at EOutputDevice, ELED
Some code cleaning
Move EApplication to separate file

and fix warning in ERGBLED.handleEvent()