Load packages from PACKAGE_DIRS and CHECKOUT_DIR/packages

Some rehaul of tests for this purpose and general cleanup,
including re-enabling reloading app when packages change