add unit test, Canvas into ezxtal

Set up a skeleton of unit test and remove all the single debug function
in each module.
Add one Canvas class which takes care of some standard drawings (pole
figure, orientation viewing with unit cell, etc.)