fix warning

implicit declaration of function 'gettimeofday'
fix warning

unused variable 'status'
add option for detecting unused variables
eliminate a warning in Mac OS X

In Mac OS X 10.5 and later, 'daemon' is deprecated.
This hack is for eliminating the warning message about it.
on the fly update with SIGUSR1
update doc
add neoagent process function
Merge remote branch 'pixiv/issues/fix_warnings'
Merge remote branch 'pixiv/feature/add_environment'

Conflicts:
	neoagent/ctl.c