Simple bug fix to add command line options to nginx configtest.

Added $OPTIONS to nginx test functions. If options were defined, they
were not applied to configtest.

In cases that require command line options, config test would fail.
For ALL cases that define options, the configuration tested is not the
configuration that the agent attempts to start.
Low: oralsnr: ignore listener case during grep for pid
Low: orainstance.sh: the exit_idle function was a no-op because of a malformed grep search
Low: oracledb.sh: Fix exit_idle loop to exit process wait loop correctly
High: oralistener.sh: Do not fail during stop if listener has already stopped
High: oracle: Make monitoring user configurable (bnc#850589)

The OCFMON user needs to have unlimited password
expiry, otherwise the agent will fail if the
password expires.

This patch creates a special monitoring profile
as well as a monitoring user, and sets the password
expiry to be unlimited.

To avoid the automatic creation of user or profile,
the monitoring user and profile can be supplied as
parameters to the agent.

This patch also converts the provided user and profile
name to uppercase, to avoid issues with case-sensitivity.
High: oracle: try as sysdba if monitor as MONUSR fails

Also get status as sysdba instead of as MONUSR in the start
operation.
Medium: oracle: reset MONUSR password if it expired

The only way to revive the user once it expired is to reset its
password. Catch that condition.
Parameter to save running VM's configuration

When save_config_on_stop_default is set to 1 the RA will dump the running VM's config to "config" during resource stop.
Medium: VirtualDomain: Add support for qemu-dm as emulator (bnc#885292)

When using Xen, qemu-dm is the emulator name. This patch ensures that
pid_status returns sensible information when this is the case.
Fix nginx agent

When use the nginx agent with OCF_CHECK_LEVEL=20, we can specify the
parameter 'testconffile'. But now the agent file of nginx read
'test20conffile'. So change the name of parameter to 'test20conffile'.

Signed-off-by: KATOH Yasufumi <karma@jazz.email.ne.jp>
Merge pull request #451 from tenforward/fix-nginx-ra

Fix nginx agent
Merge pull request #450 from krig/suse-vdomain

Medium: VirtualDomain: Add support for qemu-dm as emulator (bnc#885292)
moved save_config to a new function, changed save_config_on_stop to boolean

* moved save_config to a new function
* changed save_config_on_stop to boolean
* set default of save_config_on_stop to false
* changed condition to use ocf_is_true
Fix: bind-mount.sh: Use the correct name for the metadata function
Low: bind-mount.sh: Update meta-data to reflect required arguments
Medium: VirtualDomain: Try xenstore-ls if no emulator is set (bnc#885292)
Merge pull request #439 from dmuhamedagic/ora-monitor

Update oracle monitor procedure
Merge pull request #452 from davidvossel/rgman-bind

bind-mount.sh metadata fixes
Low: nfsserver: fixes issue with proc/fs/nfsd not being mounted during start on some distros

This also addresses a syntax error in the systemd switch case