Added a restart-function
Medium: ocf-shellfuncs: set HA_LOGD depending on HA_use_logd

The retired lrmd used HA_LOGD, the latter development in
pacemaker dropped that variable. This ensures compatibility with
heartbeat and older installations.
High: docker: properly remove stale container during stop when 'reuse' is not enabled
High: docker: replace 'container' argument with 'name'

I realized that the 'container' argument means something special in
pacemaker. In order to avoid confusion, the 'container' argument for
this agent has been changed to 'name'. Anyone using 'container' as
an argument right now will not be affected. The option still works, it
is depreciated now though.
High: docker: monitor_cmd option for executing status script within container
Low: docker: indicate when monitor_cmd is not available after startup
Merge pull request #508 from davidvossel/master

docker agent updates
Merge pull request #506 from dmuhamedagic/set-ha-logd-variable

Medium: ocf-shellfuncs: set HA_LOGD depending on HA_use_logd
Merge pull request #386 from rndmh3ro/dhcp_restart

Added a restart-function
Dev: ocf-shellfuncs: use function only after it was defined, sigh (amends 676feb0)
Modified replication_user description: RELOAD privilege is required for RESET SLAVE or RESET SLAVE ALL command.
Merge pull request #511 from mpeltier/master

Added required RELOAD privilege in the "replication_user" description of mysql agent
lvm_by_vg.sh: Only strip tag on stop if we are owner
Merge pull request #512 from johnruemker/lvm-vg_stop_strip_fix

lvm_by_vg.sh: Only strip tag on stop if we are owner
Low: pgsql: PostgreSQL 9.3 compatibility for unix_socket_directories

PostgreSQL configuration parameter "unix_socket_directory" has been changed to the "unix_socket_directories" and it allows multiple socket directories in PostgreSQL 9.3 or higher.

Therefore, pgsql RA has to be changed the procedure for setting the default value of "OCF_RESKEY_socketdir" that based on "unix_socket_directory".

In PostgreSQL 9.2(or lower), if the user set "unix_socket_directory" in the postgresql.conf and does not set "OCF_RESKEY_socketdir", then pgsql RA set "OCF_RESKEY_socketdir" that based on "unix_socket_directory" automatically(It is a traditional way).

In PostgreSQL 9.3(or higher), if the user set "unix_socket_directories" in the postgresql.conf, then the user must set "OCF_RESKEY_socketdir" explicitly because pgsql RA can not detect how many directories configured in "unix_socket_directories" and which directory is used for psql command.
Merge pull request #492 from knakahira/fix-pgsql

Low: pgsql: PostgreSQL 9.3 compatibility for unix_socket_directories
Medium: Xen: Use xl list $domain return code in status check (boo#901453)

Under xl, state and status are not returned with a --long listing. Instead,
the return code from `xl list $domain` must be used to determine if a domain
is running on the node or not.

As xen-list and xenstore-ls both rely on xenstore, the additiona xenstore-ls
check can safely be removed.

For POSIX compliance, the bash-specific [[ was replaced with expr.
Medium: VirtualDomain: For Xen, prefer xl to xen-list (boo#901453)

When checking pid_status for domains running under Xen, use xl first. If not
available, use xen-list.

An 'emulator' field is not required for PV guests, so change the missing
emulator error message to a debug message.
Dev: Xen: Use tabs for indentation
Low: mysql: document use of notify metadata attr for master/slave