Update install-app.sh

Clone git repo with branch if specified instead of checkout
Update install-app.sh

Moved the branch name after the git url in the clone command
fixed indentation
Merge pull request #18 from yohanakh/master

Clone git repo with branch if specified instead of checkout