Some changes.

Add tests based on common_test framework.
Modify ghost:doit call. It allows the variants below:
	- ghost:doit(Function, Aargs)
	- ghost:doit(Module, Function, Aargs)
	- ghost:doit({Function, Aargs})
	- ghost:doit({Module, Function, Aargs})