added .gitignore, .hgignore, tweaked README and config