Factor out location of data files.

Default it to being ../snowball-data, as it will be by default if the
git repo for it is cloned into a sibling directory.
Fix typos
Clean up casting away of const
Clean up compilation flags for generated files

Avoid duplicate -O2; enable warnings flags.