Repo template was at the wrong dir.
Added -f to git checkout

  Uncommited changes prevented git from changing to dev branch.
  Added -f to force it.
Merge pull request #58 from semirke/dev

Small fixes in deploy-dev.sh