Add ddlockd

Somewhere in the great Github migration of 2012, we lost ddlockd. This
is a straight copy from the most recent version I can find.
(Bug 4788) Add test for entry lookup.
(Bug 4788) If we guessed the anum, then save it as "untrusted_anum"

Intead of trusting the anum based on the ditemid, save it under
a different name, which we can later use to compare against the actual
anum we fetched from the database
(Bug 4784) Use default value only if we haven't POSTed yet

Also explain what the default is meant for, to distinguish it from other
ways of setting the visible form field value
(Bug 3994) : New "deleted account" page

* Shows an initial paragraph according to your relationship with the
   account and whether it is a community

* Shows the reason for deletion if there is one

* Shows the bit about being notified upon purge if you are logged in and
   are not the owner/admin.
(Bug 3994) : Don't offer to track protected usernames.
(Bug 3994) : Now show "relationship text" & link.

If the user has granted access to or subscribes to or is a member of
the deleted account, tell them this and offer a link to change that.
(Bug 3994) : Tidied up indents, removed trailing spaces
(Bug 3994) : Changes as requested in code review

* Cleanup of spaces & linebreaks

* Changed $dbr to $dbcr

* Only look up the deleter in the db when it's a community

* Tweak to page formatting
(bug 1716) More work on the feed canonicalizer
(bug 4804) Swap dw_lounge for dw_volunteers on sitemap
Merge pull request #199 from anall/feature/Bug4804

(bug 4804) Swap dw_lounge for dw_volunteers on sitemap
(bug 1716) Merge near-identical sections.
Merge pull request #197 from anall/feature/FeedCanonicalizer

More work on the feed canonicalizer
Merge branch 'anum-bug4788' into develop

* anum-bug4788:
  (Bug 4788) If we guessed the anum, then save it as "untrusted_anum"
  (Bug 4788) Add test for entry lookup.
Merge branch 'release-1.12' into develop

* release-1.12:
  Add ddlockd
Merge branch 'release-1.12' into develop

* release-1.12:
  Add ddlockd
(Bug 4816) Use .prop instead of .attr

Adjustment for jQuery 1.6+, which makes .attr applicable only for HTML
attributes and .prop the one to use for Javascript properties.
Merge pull request #200 from afuna/randomicon-bug4816

(Bug 4816) Use .prop instead of .attr
Merge branch 'release-1.13' into develop

* release-1.13:
  (Bug 4816) Use .prop instead of .attr