remove contention point with life.getStatus() in assertDatabaseIsRunning
Use %~dps0 instead of %~dp0.

For consistency, use short path everywhere.
Merge pull request #1760 from jexp/life-status-db-isrunning-contention

remove contention point with life.getStatus() in assertDatabaseIsRunning
Merge pull request #1779 from apcj/dps0

Use %~dps0 instead of %~dp0.
Recognise multi-word keywords with extra whitespace

ie. "IS  NULL" or "IS\nNULL"