Tim - added gem, migrations and mountpoint

- Rails version in Gemfile.lock updated to 3.2.8 which is required by Tim
- 'model_Validations' branch is for now used for Tim, because of a bug in Rails
master branch doesn't include model validations patch yet
Tim - added roles for BaseImage and Template models
Tim - added permission checking to Tim controllers
Tim - added base_images and templates controller permission tests
Tim - prefixed *_path and *_url helper method calls

_path and _url method calls should be prefixed to distinguish between
engine and main_app
Tim - base_images index action
Tim - base_images new action
Tim - added autgenerating of uuid for base_image and image_version

Currently image and image_build uuids are used in deployable XMLs for referencing
images.
Tim - changed provider_images_for_account to return only one provider image

Since ProviderImage has also provider account attribute, it's not possible
that this method could return more than one provider image. This patch
changes the method to return only one provider image and makes it working
with Tim.
Tim - replaced iwhd calls by Tim calls
Tim - provider/target images associated with provider account/type

Tim doesn't support association with provider account and provider type models,
so we add this association on conductor side to avoid referencing through names.
Tim - image import
Tim - fixed most of rspec and cucumber tests
Fixed realms mapping when finding instance matches

If a frontend realm was mapped to backend realms and all of these
backend realms were unavailable, then match was not found (correct),
but no error message was created.

With this patch the test "shouldn't match frontend realms mapped to
unavailable realms" in spec/models/instance_spec.rb now passes.
Tim - old warehouse lib removed

including unused controllers and views.
There are still some remaining chunks (lib/image.rb) which will be
removed in round 2 when we will be sure it's not used anymore.
Tim - added license into new files
Removed obsolete rhtml error layouts

and converted popup-error from rhtml to haml
Tim - fixed translations in models
Tim - imported status is treated as completed
Tim - fixed nested attributes names for image import form

This partially addresses comment:
https://github.com/aeolusproject/conductor/pull/225#issuecomment-11203995

If fields are left blank when importing an image following errors are displayed:
Name can't be blank
Name can't be blank
Image versions base image name can't be blank
Image versions target images image version base image name can't be blank
Image versions target images provider images target image image version base image name can't be blank
Image versions target images provider images base The requested image was not found on the Provider.

There are 2 issues:
1) "Name" error is displayed multiple times
this is actually Tim issue, there is not much we can do on conductor side,
it's commented here:
https://github.com/aeolus-incubator/tim/commit/edd94e15b7482cced1d9b6baed380a7c849b94dc#commitcomment-2277945

2) Name of provider image fields is displayed with nested names
this issue is fixed by this patch for external image id