Minor repr() and str() formatting tweak for dimensionless Quantities

Don't insert a superfluous space after the value if there is no unit.

I don't care if this goes in after 0.3, but I thought I'd put this here before I forget.