[WFLY-3275] Make log4j and syslog4j a test only dependency.

Moved one test class from shared to the manualmode module. I see no real reason to have this in the shared module.