* move functions from capture scripts (track, follow, onepercent) to library and remove duplicate code [ @todo: test onepercent! ]
* do not redeclare networkpath
* getActiveOnepercentBin() for onepercent query type
* log messages fixes
* code cleanup
* ensure role is active in tracker_run() (previous commit)
* prepare rename of scripts
* rename scripts. to see HISTORY before this commit use git --log [filename]
* delete old file names
* all reload code in controller.php
* fix error on continue
* verbose mail when script idled, not on reload
* sigterm posix signal log message
* attach signal handler in tracker_run(), test for support and log php environment
* use standard php functions to test if running in cli mode (increases compatibility with mac os)
* also report capture gaps when pid file was missing or invalid
fixed nuduplicates check during crontab
* declare ticks for all cli scripts
* undo last commit (didn't work)
* add CURLOPT_NOSIGNAL flag to disable internal curl signal handling
Merge branch 'tracktofunctions'

Conflicts:
	capture/common/functions.php