fix installation as egg.

closes #61
Quantity constructor raise an error when an invalid value is given.

close #53
Operating between different registries raises a ValueError.

close #52