More detailed reporting of invalid requests.
Add .gitignore.