* Converted all upper case variable names to lower case
* Added a TODO section at the top of the script
* Improved code that checks which build variables and functions are not set inside an SMBuild at the beginning of the build
* Moved code that searches for build dependencies near the top of the script and fixed search path to /share/doc
* Added a simple check to determine whether the parent temporary directory is writable
* Commented out code that places $app.{app,version,build} files inside parent temp directory
* Moved code that verifies checksums of source files near the top of the script
* Improved code that exports CONFIG_SITE for autoconf-based packages
* Fixed variable name "tmpfssavingsize"
* Discarded code that introduced passfailcleanup and interruptcleanup functions and reverted back to
prepbuildsummary and interruptsummary functions
Fixed identation in parts of the script
Moved SM_COMMENCEDATE variable at the top of the script
Merged SM_HTMLOUTPUT code above inarray function code into one below that function
Created two new functions - passfailcleanup and interruptcleanup. passfailcleanup deals and moved SM_HTMLOUTPUT code from existing prepbuildsummary and interruptsummary
into those two functions