Updated Makefiles to use user-configurable dirs
Setup systemd services for configurable bindir
.init files respect BINDIR
shared libs respect CONFDIR
Use CONFDIR in agoclient.cpp
Updated core for user-configurable dirs
Updated devices for user-configurable dirs
Update conf for user-configurable dirs
Updated agomeloware for CONFDIR
Merge branch 'master' into config-prefix
Use BINDIR for agocontrol-init-script.sh
Updated scripts for CONFDIR
Fixed core makefile
Real core makefile fix
Changed globally hard-coded '/etc/opt/agocontrol' to define

This define is defined in agoclient.h. For (upcoming) FreeBSD this will be '/usr/local/etc/agocontrol'
FreeBSD ifdefs

FreeBSD does not have malloc.h, this is included in unistd.h
Fix double-free in agorpc

std::map and std::queue uses internal allocators, and we are not dealing with pointers.
On FreeBSD these triggered segfault and crashed the app
FreeBSD enabled makefiles

Note that FreeBSD make is still not fully possible with this commit
only, but some more changes are required. However, more proper fixes for
those are comming up.
remove obsolete 'result' nesting
adjust config file path