First attempt at getting the new model added to foreman via
separate engine

This still requires one template in Foreman to be modified.
The following diff should be applied to upstream foreman

diff --git a/app/views/common/_searchbar.html.erb b/app/views/common/_searchbar.html.erb
index 2ff07ce..0f61638 100644
--- a/app/views/common/_searchbar.html.erb
+++ b/app/views/common/_searchbar.html.erb
@@ -15,7 +15,7 @@
         <% end %>
         <li class="divider"></li>
         <li><%= link_to_function _('Bookmark this search'), "$('#bookmarks-modal').modal();",
-                                 {:id => "bookmark", :"data-url"=> new_bookmark_path(:kontroller => controller_name)}%></li>
+                                 {:id => "bookmark", :"data-url"=> main_app.new_bookmark_path(:kontroller => controller_name)}%></li>
       </ul>
     </span>
   </div>
diff --git a/config/application.rb b/config/application.rb
index 1f26593..9e7ed65 100644
--- a/config/application.rb
+++ b/config/application.rb
@@ -37,6 +37,7 @@ SETTINGS[:ovirt] = defined?(::Fog) && defined?(::OVIRT)
 SETTINGS[:vmware] = defined?(::Fog) && defined?(::RbVmomi)
 SETTINGS[:gce] = defined?(::Fog) && defined?(::Google::APIClient::VERSION)
 SETTINGS[:openstack] = SETTINGS[:rackspace] = SETTINGS[:ec2] = !! defined?(::Fog)
+SETTINGS[:imgfac] = true

I had to reset the database and reseed it.