Javascript alert to prompt before reordering unsaved inlines.

There is a feature update hidden in one of these commits.  Have a look if this is something that you would like to merge into master.
I also added the missing templates (from PyPI) to the repository.