tests for directory existing before deleting NTA and BUILDDIR. adds creation of intermediate directories, if any, for BUILDDIR
changes NUPIC shell environment variable to NUPIC_HOME
adds: logging out put per build phase, comments and readability whitespace. sets sane defaults. updated README with changes
adds paranoia check before final call to rm
fix merge
adds directory checks before calls to rm. adds sane default settings for build environment variables.
fixes directory checks
removes _HOME suffix to NUPIC in README
adds newline to end of build script file
fixes syntax error
Merge pull request #29 from ravaa/upstream-master

Sets up sane defaults and checks for directories before calling rm