Fix most shellcheck warnings in lime.sh.
Merge pull request #314 from erbridge/shellcheck

Fix most shellcheck warnings in lime.sh