hopely fixed bugs in genereatepages.sh and added a cleanup script
added the temp files to gitignore
cleanup.sh is now secure and fixed
fixed the read line routines and the regex in generateindex.sh