Move tests into brewer2mpl tree and use relative imports

Allows the tests to be run without installing brewer2mpl.