Quantity: remove trailing space if quantity has no units

For quantities without unit (e.g., those resulting from a division of two quantities with the same unit), the space between the value and the (empty) unit still appears when calling `__format__`. Example:

```python
>>> q1 = Quantity(3.14)
>>> format(q1, '.2f')
'3.14 '
```

This PR removes the space and adds a test for the example above to return '3.14'.
Sorry, but this should be further down under the changes for 0.4.3

(perennial reminder to myself to figure out a new scheme for organizing the changelogs so that this doesn't happen as easily)