Rename ``scalar`` to ``shared`` in equations and error messages

As discussed in #256, uses `shared`, not `global`. I did not change the internal use e.g. in the `Variables` object, there scalar values are still called `scalar`, but this might also refer to "global" variables outside of equations. I think it is also good not to touch every source file for a minor change like this.

Ready to merge, closes #256