Move some dependencies to FoundationServiceProvider::boot().

Signed-off-by: crynobone <crynobone@gmail.com>