Added a test and fixed webos test for Darwin

Added testGetThemeUniqueValue and fixed webServerOs for Mac OS X where
the PHP OS is defined as 'Darwin' and was being picked up as a windows
equivalent