Refactor automatic packages processing.
Bool values should now be passed as bool for pkg_set.
Fix issues with varargs and types.
Fix PKG_LICENSE_LOGIC and pkg_get.
Merge branch 'pkg-set-bool'