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 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 4690 - Librarian's Dream: fix module heading links colors
http://bugs.dwscoalition.org/show_bug.cgi?id=4690
-- Restore original code
-- Make sure hover and visited colors are what they used to be too
(Bug 3994) : Tidied up indents, removed trailing spaces
Merge pull request #196 from ninetyd/bug4690/ld_fix

Bug 4690 - Librarian's Dream: fix module heading links colors
(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