Fix the Pan code in ncm-network.

The import script failed to set the correct headers and some versions
were hardcoded by mistake.
Add a method for executing Yum commands.

It will allow us to keep the code clean of error handling, which now we
do almost by copy and paste.
Expire Yum caches with execute_yum_command.
Run transaction with execute_yum_command.
Refactor versionlock command executions.

Needed a small adaptation for repoquery.
Complete old transactions with execute_yum_command
Return something successful with noaction.
Make package-cleanup run even under NoAction

It is a safe command, and it will give all the information we need about
packages that should be removed.
Fix tests.
Support SSL authentication per Yum repos
Improve the documentation of execute_yum_command

Clarify the return values and put it into a POD section, in case future
code desires to invoke Yum/repoquery.
Fix typos in the documentation.
Make the return of apply_transaction consistent.

We are returning defined($foo) wherever we run Yum commands.  This one
should behave just the same.
Merge pull request #27 from piojo/refactor-yum-cmd

Refactor invocations to Yum commands
Use the newest versions of the build tools.

These should allow to run the tests on SL5.
Configure the skip_if_unavailable field.

We may need to skip repositories if the authentication to the Yum server
fails.

It is false by default, as with Yum's standards.
Filter the TT files.

They were not expanding ${project.artifactId} by error.
Merge pull request #32 from piojo/pom-filter

Filter the TT files.
Trivial fixes to the POM file.
Create a managed_files directory.

For compatibility with previous releases.