Fix active roles dashboard

1) Roles without assigned nodes are not displayed
2) Roles are grouped under a barclamp name.

This fixes the duplicated roles issue. In fact, they were
different roles belonging to the same barclamp and only that barclamp's
name was displayed, giving the impression of duplicates.
Merge pull request #1155 from bkutil/fix_active_roles_page

Fix active roles dashboard
Updated dependencies

In order to move the SUSE packaging to the open build service and to
update easy with some security fixes i have made the version constraints
much simpler
Not so hard version constraints

As we do not hardly rely on fixed version constraints i have set them a
little more less to minor version changes.
Updated to rails 4
Removed fucked up conditions for ruby > 1.8 compat
Replaced functionality to get rails 4 working
Removed issues while rails upgrade
Update routes syntax to match rails 4 style
Remove sprockets env rspec helper
Update spec helper to new rspec syntax
class_inheritable_accessor is now class_attribute
Remove reference to AppConfig and replace with YAML + Hashie
Fix rspec deprecation warnings
Replace old JS/CSS asset helpers with rails 4 equivalents
Add a wildcard catch all route
Removed old script folder, not used anymore for rails 4
Fix missed javascript_tag
Fix status checks in machine controller specs
Make format optional in routes