Adds a find_directories to util module

To find all directories matching a pattern
clean_pyc command class cleans Python cached directories