Complete -w, --viewer argument properly
Add ImageMagick viewer example to config
Improve pkgver() in PKGBUILD-git

Use git-describe and base on tag names instead of just total number of
ancestors of HEAD.
Add changelog generation script, and makefile target
Version 1.3.1

Changelog:
- Complete -w, --viewer argument properly
  - Before, it would only complete if the option was the first
    positional parameter. Now it should complete regardless of where the
    option appears in the command line.
- Add example configuration for ImageMagick image viewer

Signed-off-by: Emil Lundberg <lundberg.emil@gmail.com>
Merge version 1.3.1 into pacman
Use changelog generated by make-changelog.sh
Make PKGBUILD-git fetch dev branch instead of master
Bump package version
Release 1.3.1-1

Signed-off-by: Emil Lundberg <lundberg.emil@gmail.com>