Change commands module to subprocess

Signed-off-by: Kouhei Maeda <mkouhei@palmtb.net>
move test directory, and change to py.test from nose

Signed-off-by: Kouhei Maeda <mkouhei@palmtb.net>