work on python version unittest module.
modified:   py/core/cmd.py
space modification.
update some docstrings of some function.
add TODO.
add input checking mechanism to crvInRange function.

modified:   py/core/expt.py
add custom exception for core/cmd.py.

modified:   py/tester/testCmd.py
add more testing function.