added tests dir to gitignore
added nodeunit tests and added a search pattern to search_layout_dirs()