make random_password securely random

(cherry picked from commit 27e18332d1b7bf900b8f99907927e4e577447552)
Use SecureRandom.base64

(cherry picked from commit d965a60dc72b052da8624f4b86e35fc409fa49b5)
Merge pull request #986 from vuntz/secure-password

[stoney] make random_password securely random
NodeList triggers add/remove node events

Whenever a node is allocated to a role, or removed from it, the NodeList
triggers an appropriate event, passing along the role name, node id and
the node alias. This way, other UI components can listen and react to
these events.

Example usage would be:

$('#element').on('nodeListNodeUnallocated', function(evt, data) {
  // do stuff here
});
(cherry picked from commit efb164d25620968b15b9f766e5beb1701ab30bac)
revert: valid -> revert: invalid

This is to make the drag & drop more intuitive.
(cherry picked from commit 102bd9c975e43f58b349cc3b64f78eeb7cc58457)
Merge pull request #987 from bkutil/nodelist_events

Nodelist events
Fixed raid claiming part

Replaced a wrong next with a simple return as
we are not within the loop anymore.

(cherry picked from commit fdfc1405fe382192d545d3685ca63a6ce511fe3f)
Merge pull request #990 from tboerger/feature/stoney/raid-claim-fix

[stoney] Fixed raid claiming part
Started to upgrade to rails 4
Added magic encoding token for ruby 1.9
Refined rubocop
Extended rails upgrade and cleanup
Replaced constants, fixed copyright
Extended more parts for rails upgrade
Integrated cucumber
Integrated rspec and simplecov, started to fix specs
Updated jquery and plugins
Fixed rubocop
Restructured navigation within crowbar configuration
Replaced live jquery function calls with on call