updated files for version 0.4.6

modified CMakeLists.txt to prevent in source directory builds, to copy
the test files into the test directory of the build directory, and to
create a release binary create archive shell script, where the archive
will consist of the files needed including the test scripts (appropriate
for the target system) and test files

corrected regtest and memtest to use the test files in the build
directory instead of from the source directory

other minor cleanups