Add test for getMaxUploadFileSize()

Also fix fileformat for test_runner.sh to unix type
Add tests for enabling/disabling logging

The code base had to be changed to make it testing friendly.
Also change the disbleLog to write out the end of logging before setting
logger to false. If we set the logger to false first, the disabling
logging message wouldn't be written as it's already been disabled.
Add test for setup()

Change setup to return the current config at the end of merging. This
allows us to test what he configs are.
Move the projectRoot member in the test file to be declared at the
beginning since it's a constant value.