Set chef reconnect rate to 3

I have put the chef retry connection rate down to 3 retries in order to
prevent extreme long page loadings in case of the chef server is gone. I
think it should be enough to retry to connect only 3 times.
Selecting raw mode w/o loosing data (bnc#882976)

The ticket https://bugzilla.novell.com/show_bug.cgi?id=882976 explains
that we loose data if we switch from the custom proposal form into raw
proposal form.

To prevent loosing data i have integrated a confirmation dialog that
have to be accepted before we can switch to another page if we have
changed something on the current proposal form.

This solution is a shortterm solution until we get a better javascript
library with dynamic data binding to switch between raw and custom view
without a page reload and without loosing data.
Fix UI if chef-server is gone (bnc#865072)

The ticket https://bugzilla.novell.com/show_bug.cgi?id=865072 explains
that crowbar behaves bad if the chef-server is gone and not reachable.

In order to display a better usable error page i have integrated more
exception classes that gets catched by the application controller to
display a proper error page if there are documents not found or the chef
server is gone.
Added a more natural tone to the error pages
avoid use of /dev/disk/by-id in VirtualBox

Conflicts:
	crowbar_framework/app/models/node_object.rb
Merge pull request #1074 from tboerger/feature/raw-mode-switch

Selecting raw mode w/o loosing data (bnc#882976)
Merge pull request #1080 from vuntz/merge-roxy

avoid use of /dev/disk/by-id in VirtualBox
Merge pull request #1075 from tboerger/feature/chef-offline

Fix UI if chef-server is gone (bnc#865072)
Fix web_app definitions for suse
Merge pull request #1082 from mjura/suse-fix-apache2

Fix web_app definitions for suse
Lookup dynamic form path translations with a fixed string

When using Handlebarjs in order to generate dynamic form elements
in arrays, the lookup was done via "{{index}}". Replace that
with index to have a slightly nicer lookup path.
Merge pull request #1083 from dirkmueller/master

Lookup dynamic form path translations with a fixed string
Ubuntu fix for uncreated run directory.

Because the directory is not created, PXE installations fails with
waiting *.install files and rebooting again.

(cherry picked from commit 90e191de14b2c9850646e1d31e215d461cfbfb84)
Eager load roles and proposals for NodesHelper

In certain cases, it makes sense to eager load all roles/proposals.

On my setup, a loading a single chef object takes ~ 20ms, while fetching all
roles/proposals takes ~ 100ms (There are 62 / 32 of them in the db.)

So it seems that anything above 5 records should be faster with an eager
load. That of course assumes that loading everything at once won't slow
down too much with more records in the DB.

Feel free to independently verify/refute this!

Use filtering from pre-fetched records and cache the collection of all
records from the db.

This reduces the admin node show view load time from 900 ms to roughly
half.
Eager load proposals in the barclamp index view
Merge pull request #1057 from bkutil/eager_loading_in_nodes_helper

Eager load roles and proposals for NodesHelper
Merge pull request #1086 from vuntz/master

Ubuntu fix for uncreated run directory.