hw: rename update_region in update_data_region

ref #1115
hw: don't restrict update_data_region to core

ref #1115
hw: provide Kernel::update_instr_region

fix #1115
hw: don't implement IRQ usage policy in core

Fix #995
Fix #1112
Fix #1113
nova: set invalid affinity space in thread constructor

Otherwise affinity space is set to 1x1 and in cpu_session_component.cc the cpu
session local affinity space defined by parent is not taken because
"Location::valid()" returns true.

Issue #1107
init: put ep for child in affinity space of child

Issue #1107
base: set default cpu affinity

Set cpu_session default affinity space already during
construction of the thread, so that main thread is placed in the cpu affinity
space as defined by the parent. Otherwise the main thread is placed potentially
outside the affinity space, typically on the first/boot CPU.

Fixes #1107
base: add cpu_session parameter to thread creation

Fixes #1114
pthread: separate structure and create function

With the commit an application may create a modified version of pthread_create.
Will be used by Virtualbox port.

Issue #1114
vbox: implement pthread_create specifically

Issue #1114
tool: increase amt reset timeout
OpenSSL: update to version 1.0.1g

Fixes #1118.
nova: extent ec_ctrl in kernel and base-nova

The commit switches the kernel branch to r5 and updates the syscall bindings
in base-nova accordingly. Beside some cleanups, r5 extents the ec_ctrl syscall
to support following features:

* An EC may yield its current timeslice. The timeslice gets enqueued at the end
  of the run queue without refreshing the left budget of the quantum.
* An EC helps with the current SC another EC. Used in Genode to implement
  helping over a user-level lock to avoid live-lock situation. (Think of
  a limited priority-inheritance mechanism.)
* An EC requests a new scheduler decision. Used in Genode to transfer back the
  potentially helping SC to the helper EC.

Issue #986
nova: set pager and native ec cap for main thread

Prerequisite for follow up commit regarding base-nova specific Genode Spinlock
replacement.

Issue #986
nova: replacement of generic Genode spinlock

Turn Genode user-level spinlock into a user-level "helpinglock". This requires
support by the kernel introduced with kernel branch r5.

The commit avoids live-locks when multiple threads with SCs on different
priority levels compete for the same user-level Genode "spinlock".

Issue #986
nova: support usage of priorities in Genode/Nova

Enables finally the usage of priorities on base-nova.

Fixes #986
Generate Genode version string on each build

The version string was generated when core/main.cc was rebuilt, which
happens on changes in the file itself or in a header file it includes.
But, the version should reflect if the Genode repository was changed at
any place. Therefore, I moved the version string to its own version.cc
which is forcedly rebuilt any time core is examined by the build system.

@nfeske what do you think about it? Core is now relinked on any build.

Fixes #551.