Deprecate name as first argument to Dimension constructor.

As discussed in #480, this updates all examples to pass `name` as a keyword instead of first argument, and sends a deprecation warning if `name` is given as first argument.  This is fully backward-compatible, and is prelude to a backward-incompatible change (disallowing `name` as first argument).