initial version of indexing for site search, add rule to .htaccess to deny access to .git, slight refactoring
add verbose logging
code tidy up, fix problem with quotes in id attribute