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
Wondered why not use a context manager, only to realize there is none (though the idea has been put on the numpy mailing list...)