Add toBoolean function to handle command line bools.
Add rsync as package.

Also fix bug in handling of the apt-get update boolean.