TRUNK-3424

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