added isDaemonUser() at Daemon class and tested it at DaemonTest class, junit test passed

Fixed the @shoulds and test method names - TRUNK-3424
applying auto format changes