High: fs-lib.sh: Fixes failure to unmount local fs when process runs with cwd inside fs mount

Resolves: rhbz#1051115
Merge pull request #371 from davidvossel/master

High: fs-lib.sh: Fixes failure to unmount local fs when process runs wit...
High: VirtualDomain: Fixes parsing domain name from xml file.

If the domain xml is not generated by virsh, it is possible
VirtualDomain will not be able to detect the domain's name
from the xml file.  This is a result of the parsing command
not taking into account trailing whitespace characters.
Low: nfsclient.sh: Add 'sec=' as a valid exports option

Resolves: rhbz#1019931
Merge pull request #374 from davidvossel/virtdomain-parse-fix

High: VirtualDomain: Fixes parsing domain name from xml file.
Low: CTDB: Detect default persistent database directory
Low: CTDB: Ensure logfile directory exists so CTDB can start
Low: CTDB: Updates to long description text
Merge pull request #375 from davidvossel/bz1019931

Low: nfsclient.sh: Add 'sec=' as a valid exports option
High: VirtualDomain: Attempt to determine vm status even when libvirt is unavailable

When pacemaker does probe operations, VirtualDomain returns
errors when libvirt is not available.  It is possible to determine
if a virtual machine is running without libvirt. This patch
introduces this logic for qemu virtual resources. Additional logic
must be used to extend this functionality to things like lxc though.

Resolves: rhbz#1054327
Merge pull request #373 from davidvossel/virtdomain-wo-libvirt

High: VirtualDomain: Attempt to determine vm status even when libvirt is...
Low: db2: Validate db2 environment has ksh
Low: db2: Allow management of db2 installs without partition support
Medium: db2: Allow db2 agent to work without crm_master binary

We are wanting to use db2 outside of a pacemaker environment
without multi-state support.  To avoid confusing error messages,
crm_master is only called if it exists.
High: apache.sh: Add ability to set custom httpd binary

Resolves: rhbz#952132
Merge pull request #376 from davidvossel/ctdb_fixes

CTDB updates
Update default value for best_netmask

When best_netmask is set to INT_MAX the netmask and broadcast
address is calculated incorrectly.

Closes: #380
Merge pull request #381 from rmoe/fix-best-netmask

Update default value for best_netmask
VirtualDomain: avoid running "virsh uri" if hypervisor is set

Recent efforts to make this RA independent of a temporarily stopped
or blocking libvirtd missed the unconditional call to "virsh uri"
use to determine the hypervisor default. Since
OCF_RESKEY_hypervisor_default is actually not used anymore, we can
invoke virsh uri directly when setting OCF_RESKEY_hypervisor, but
only if the latter isn't already set.

Thus, users can avoid the superfluous "virsh uri" call altogether
by explicitly setting the hypervisor RA parameter.
VirtualDomain: check process table for qemu-system-* too, not just qemu-kvm

The Qemu/KVM process name "qemu-kvm" is deprecated; qemu-system-<arch>
is now the preferred binary name. Some distributions only support the
latter. Expand the regular expression in monitor to support both names
when grepping through the process table.

Use an extended regular expression to test for both qemu-kvm
and qemu-system-*; the -E flag is specified by POSIX.