test(server): Add basic server unit tests
test(server): Add basic server unit tests

Adds 4 unit tests for the server:
 - should start the web server after all files have been preprocessed
   successfully
 - should start the web server after all files have been preprocessed
   with an error
 - should launch browsers after the web server has started
 - should try next port if already in use

stevemao/karma,pmq20/karma,IsaacChapman/karma,kahwee/karma,chrisirhc/karma,gayancliyanage/karma,pmq20/karma,rhlass/karma,rhlass/karma,codedogfish/karma,astorije/karma,wesleycho/karma,chrisirhc/karma,timebackzhou/karma,Klaudit/karma,marthinus-engelbrecht/karma,hitesh97/karma,hitesh97/karma,johnjbarton/karma,panrafal/karma,codedogfish/karma,youprofit/karma,youprofit/karma,clbond/karma,youprofit/karma,johnjbarton/karma,pedrotcaraujo/karma,nmalaguti/karma,rhlass/karma,karma-runner/karma,jamestalmage/karma,timebackzhou/karma,pmq20/karma,vtsvang/karma,brianmhunt/karma,vtsvang/karma,skycocker/karma,simudream/karma,jamestalmage/karma,patrickporto/karma,unional/karma,johnjbarton/karma,marthinus-engelbrecht/karma,panrafal/karma,KrekkieD/karma,chrisirhc/karma,jjoos/karma,pedrotcaraujo/karma,gayancliyanage/karma,vtsvang/karma,Dignifiedquire/karma,johnjbarton/karma,stevemao/karma,wesleycho/karma,unional/karma,IveWong/karma,astorije/karma,KrekkieD/karma,shirish87/karma,pedrotcaraujo/karma,Klaudit/karma,xiaoking/karma,buley/karma,ernsheong/karma,xiaoking/karma,Sanjo/karma,david-garcia-nete/karma,buley/karma,buley/karma,nmalaguti/karma,clbond/karma,david-garcia-nete/karma,powerkid/karma,chrisirhc/karma,oyiptong/karma,buley/karma,harme199497/karma,oyiptong/karma,stevemao/karma,SamuelMarks/karma,kahwee/karma,unional/karma,IsaacChapman/karma,gayancliyanage/karma,nmalaguti/karma,youprofit/karma,oyiptong/karma,skycocker/karma,skycocker/karma,jjoos/karma,karma-runner/karma,Klaudit/karma,kahwee/karma,pmq20/karma,maksimr/karma,harme199497/karma,panrafal/karma,astorije/karma,skycocker/karma,simudream/karma,unional/karma,shirish87/karma,jamestalmage/karma,aiboy/karma,SamuelMarks/karma,astorije/karma,clbond/karma,xiaoking/karma,nmalaguti/karma,Dignifiedquire/karma,rhlass/karma,SamuelMarks/karma,mprobst/karma,KrekkieD/karma,IveWong/karma,stevemao/karma,vtsvang/karma,aiboy/karma,tomkuk/karma,brianmhunt/karma,Dignifiedquire/karma,powerkid/karma,patrickporto/karma,hitesh97/karma,powerkid/karma,Sanjo/karma,patrickporto/karma,codedogfish/karma,ernsheong/karma,oyiptong/karma,codedogfish/karma,harme199497/karma,aiboy/karma,mprobst/karma,gayancliyanage/karma,wesleycho/karma,timebackzhou/karma,brianmhunt/karma,pedrotcaraujo/karma,tomkuk/karma,IsaacChapman/karma,simudream/karma,powerkid/karma,tomkuk/karma,simudream/karma,IveWong/karma,karma-runner/karma,marthinus-engelbrecht/karma,clbond/karma,mprobst/karma,wesleycho/karma,maksimr/karma,jjoos/karma,timebackzhou/karma,kahwee/karma,jjoos/karma,brianmhunt/karma,shirish87/karma,xiaoking/karma,aiboy/karma,patrickporto/karma,ernsheong/karma,david-garcia-nete/karma,tomkuk/karma,Sanjo/karma,IveWong/karma,marthinus-engelbrecht/karma,Dignifiedquire/karma,karma-runner/karma,harme199497/karma,jamestalmage/karma,maksimr/karma,Klaudit/karma,Sanjo/karma,IsaacChapman/karma,KrekkieD/karma,hitesh97/karma