bug fix.

py/core/cmd.py
fix some stupid typo.
working on python version.

py/core/cmd.py
space modification.

py/core/connection.py
add distThresholdCompList, crvDegree parameter to _buildCrv.
fix bug in _buildCrv, like mis-placed variables.

add tester module
add py/tester/testConnection.py,
add connection._buildCrv, connection.randomCnnt test function.