Completed list dir content test --
Completed list dir contents function --

I also moved some function code that uses variables to subshells to make the
variables local.
Minor typo fixes --
Changed POM to overwrite showcase script --

In order to prevent the POM appending the activation stanza more than once to
the showcase script if 'mvn package' is run without first running 'mvn clean',
I changed the copy Ant task to always overwrite the target showcase script.