Use matching else-if construct in AngelScript & Lua Sample code. 
Changed ErrorDialogs in the Lua subsystem to error logging (subsystems should not pop up dialogs on their own.)


git-svn-id: http://urho3d.googlecode.com/svn/trunk@2490 3bd170d8-ddcf-f82c-f583-7a401ccf5608