Add refdb submodule.
Update gitignore.
Remove compat 1.8 requirement from pgfplots.