First shot at presets

This includes a first JSON scheme and a bad-looking UI currently in
inspector.
Rename, titles, edit distance
Merge branch 'master' into presets

Conflicts:
	js/id/util.js
Add josm converter and converted, switch to it.
Improve preset form display
Add preset search.
Fix preset filtering
Use typeahead for preset search, support changing presets. Fixes #577
Pay attention to field types, style things a little bit better.
Grab favorites, display them.

Show stuff nested in optional tags.
Fixes #582
Fixing tests
Merge branch 'master' into presets

Conflicts:
	js/id/modes/select.js
Be more specific in tests about which form we are interested in
Editable name field for the inspector
Reversible tag editing, save real changes
Use proper labels
Merge branch 'master' into presets
Merge branch 'master' into presets
Merge
Merge branch 'master' into presets

Conflicts:
	test/index.html