Move changelog to `HISTORY.md` file
Fix undefined notices and warning
Bump up version to v3.0.4 for release
Regenerate pot file for v3.0.4