Treat dimensionless units the same way as angles

@astrofrog - this simple change makes the code and implementation so much more symmetric that I couldn't resist... Of course, feel free to reject -- but note that I didn't even have to edit one of your exception messages, suggesting your thinking on dimensions is similar to mine at least half the time ;-)