autogen.sh : added path for libmagic

bin/stop.sh : script to cleanly stop apricot in daemon mode