Refactor Quantity mul, div, and pow operators

Create methods_imul_div and _mul_div to centralize the multiplication
and division operator methods. Also make multiplication, division, and
power methods return NotImplemented when appropriate.