Improve the starting of application dependencies in development

This primarily came about due to problems with starting the samples (i.e. make pbx) under R16.  Due to the dependency of public_key on asn1, an explicit list of dependencies isn't necessarily good enough.  This approach should more generally be able to load all required applications.