Fix broken pg_dump command

Error in the backup command found by Sam on the forums.
See http://www.openmicroscopy.org/community/viewtopic.php?f=5&t=6852
Remove '#sh' from script
Merge pull request #509 from sbesson/rebased/develop/fix-pg-dump

Fix broken pg_dump command (rebased onto develop)