Script to start foreman only if available

Updated the upgrade script to start foreman only if its available.
Merge pull request #50 from parthaa/upgrade-fix

Script to start foreman only if available