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.
Low: mysql: Refactoring mysql logic into common library that can be shared with galera agent

Galera is just mysql with some fancy wrappers. I have refactored
the mysql agent so we can create a new galera agent without
having to introduce a bunch of code overlap with the mysql agent.
All the code that can be shared between the mysql agent and galera
has been moved to mysql-common.sh
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
High: galera: Introduces galera resource-agent
Low: galera: readme text describing the galera agent
High: galera: wait for db sync during promote
Low: galera: handle large db commit value comparisons
Medium: VirtualDomain: Try xenstore-ls if no emulator is set (bnc#885292)
Merge pull request #439 from dmuhamedagic/ora-monitor

Update oracle monitor procedure
Low: ocf-shellfunctions: handle local nodename when version has distro postfix