Added (tdoc) and (tpy) commands.

Menu:

     tests - doctest (tdoc)
     tests - py.test (tpy)

Description: the (tdoc) command runs doctest on the current directory. The
(tpy) command runs py.test on the current directory.