Fix warnings (-Werror)
Add local .gitignore for the acid-state's state.