Some updates to .gitignore files

Replaced .gitkeep with .gitignore to ignore build artifacts.  Also added .htaccess to the main directory's .gitignore file.