Renamed log to debug to avoid unnecessary overloading
Moved the images used by the apps to a common location.

This way apps can share images.
Fixed a race condition in loop_invariance_extern_calls test
Fixed race condition in a better way
Added a folder for a Halide tutorial.

Currently only has one lesson.

Also runs the lessons along with the unit tests, to make sure we
don't break them.
merging