Rework package.c:

- mkdir -p on install dir
- log errors
- use const char pointers
- force requested version to propagate
- split `package_install` and `package_install_dependencies`
- begin binary entry point