error when reusing same Var in different places in a schedule

Also improved the error messages for bad scheduling ops in general
by plumbing through and including the name of the stage.
Merge branch 'master' of github.com:halide/Halide
Fix incorrect comparison in error checking code.