Adding host to DB before calling provision

When calling provision foreman expect the engine's host-id to allow calling
the reinstallation after provisioning. Engine generates host-id while saving
host info to db, therefore this patch switches between the DB.

Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1158588
Change-Id: I635d87d09eec0dd052d86329d2b6b7f0a1658836
Signed-off-by: Yaniv Bronhaim <ybronhei@redhat.com>