Fix use of positional params to build_rpm_opm.sh
Update testpatches function to use datadir.

Updates the testpatches function so uses the configured
datadir as a basis for its git test commands.

This is a step towards making datadir fully configurable.
Right now we rely on the convention that datadir is called 'data'.
Merge pull request #1 from dprince/testpatches_relative

Update testpatches function to use datadir.
Fix issue where generated RPMs had root:root perms

This resolves an issue which was causing the actual RPMs
generated by Delorean on the host machine to be owned
by root:root. This is due to the fact that we use root
within the container to generate the RPMs which are
then copied into the data directory.

This approach passes the UID/GUID of the process calling
delorean into the script which then uses that information
to chown the resulting data files once the build finishes.

This change also updates the ~/rpmbuild/ paths to be based
on the user ~ homedir instead of just /rpmbuild (this
fixed builds for me).
Merge pull request #2 from dprince/fix_root_permissions

Fix issue where generated RPMs had root:root perms
Add --build-env option.

Adds a new option which can be used to set an array of build
environment variables. Internally these are injected into
the docker run command for the build environment and can be
used for setting up a local proxy for example:

 delorean --build-env http_proxy=http://192.168.1.1:3128...
Merge pull request #3 from dprince/build_env

Add --build-env option.
Change details of email messages

Change-Id: I79c4b2ddcb05807989f2342b01f3043debdf32fb
test

Change-Id: I3c04ec59f967f6fa1be04db71184be0791c170bc