Fixes and cleanups to the unit module

- Fixed future imports.
- Fixed parser to accept dimensions surrounded by square brackets.
- Added pi_theorem as a function from UnitRegistry
- Added value convert function to the UnitRegistry
- Added some documentation
Fixed NumPy tests to support comparison of Quantities and arrays
Implemented transformation of NumPy array content for ufunc call
Added future imports