add support for ppc64le

This also updates libffi to 3.1, because previous version
is causing compilation errors in glib.

Signed-off-by: Jan Stancek <jstancek@redhat.com>
Merge pull request #12 from jstancek/ppc64le_v1

add support for ppc64le
Added host cmd line option to restraint client.

There is now a --host option for restraint client that parses stings in
<whiteboard>=<host>[:<port] format into a hashtable that should later be used
instead of '--remote'.
Storing actual uri in recipe_hosts hash table.

Instead of storing in the recip_hosts hash table a user-supplied string, parse
it and store a SoupURI instead.
Make find_recipe() return specific recipe.

find_recipe() was just returning the first recipe from the set, not the one we
were looking for. It now checks the recipe_uri and tries to find the recipe
with specified id reverting to previous behaviour if failed to do so.
Parsing recipe_uri is not the best way to do this so in future we should
probably track the recipe_id somewhere inside the server.
restraintd: config_port memleak fix

Fixed config_port variable leak in server.c
Initial mh support for restraint client.

Support for multiple servers in the client, all recipes are now handled
separately(although in the same evloop). This does work with simple mh recipes
but error handling needs more work.
parse_new_job() wboard memleak fix

This commit fixes a wboard var memleak in parse_new_job() in case when hostname
is not specified.
Default wboard value for recipes with undefined wb.

Adding default whiteboard values for those recipes which have it undefined.
Cleaning up extra whiteboards.

Cleaning up whiteboards that were supplied on the command line but are not
actually in the xml.
exit if failed to init recipe

If failed to init recipe for some reason - exit right away as there is nothing
we can do.
Fixed premature quit on a problem with a single recipe.

Instead of calling g_main_loop_quit() on a problem with a single recipe - just
mark it as "Aborted" so that others can still continue their execution.
Log paths in job.xml fix

Fixed log paths to be within the specific recipe, also changed the directory
structure because jobids can overlap in different recipes.
restraint client use a single "server"

Instead of spawning a separate server for each recipe - use only one.