Add support for latexing array quantities

See #2258 for context - this makes it so that array quantities produce decent-looking latex output for ipython notebook consumption.

Look good to you in concept, @mdboom and @mhvk?  If so, I can add tests to check this properly
Remove `#scalar`