replace PIL with Pillow

Pillow is a fork of PIL, with newer features and more (pip) packaging friendly.
build.sh switched to use cmake

Per Issue #677
Merge pull request #681 from subutai/buildsh_changes

build.sh switched to use cmake
Merge pull request #670 from breznak/PIL_to_Pillow

replace PIL with Pillow
Added cmake check for $NTA == $NUPIC.
Removed unecesary macro and inlined the logic.
Merge pull request #687 from DavidRagazzi/master

Deletion of old build system
Merge pull request #685 from numenta/nta-nupic-env-check

Added cmake check for $NTA == $NUPIC.
Merge pull request #2 from numenta/master

Update CMakeLists.txt from nupic branch