Add additional entry types for PCP files

entfile.pas:
  + new entries ibstartrequireds and ibendrequireds to store the list of required packages
  + new entries ibstartcontained and ibendcontained to store the list of contained units
  + new entries ibstartppus and ibendppus to store the list of contained PPU files

git-svn-id: http://svn.freepascal.org/svn/fpc/branches/svenbarth@28847 3ad0048d-3df7-0310-abae-a5850022a9f2
Generate the PCP file once the package file and the used units were compiled correctly.

pmodules.pas:
  * proc_package: generate the PCP file upon successful compilation

git-svn-id: http://svn.freepascal.org/svn/fpc/branches/svenbarth@28848 3ad0048d-3df7-0310-abae-a5850022a9f2
Add the possibility to load all packages supplied as parameters.

pkgutil.pas:
  + new function load_packages to load all packages supplied as parameters
pmodules.pas, proc_program:
  * use load_packages to load all packages before any unit is loaded

git-svn-id: http://svn.freepascal.org/svn/fpc/branches/svenbarth@28849 3ad0048d-3df7-0310-abae-a5850022a9f2