Update lib*.py modules in tools directory

  add tool_name method to each tool, to correctly allow instantiation
Update test_libbase.py

  add tool_name method to allow instantiation during unit test