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 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
Merge pull request #196 from ninetyd/bug4690/ld_fix

Bug 4690 - Librarian's Dream: fix module heading links colors
(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
(Bug 4819) Reset width/height to auto to override HTML attribute

Reset the width/height to auto first before applying a max-width/height.
This is to fix distortion of non-square images (where one dimension >
75px)
Merge pull request #201 from afuna/contextual-nonsquare-bug4819

(Bug 4819) Reset width/height to auto to override HTML attribute
(Bug 4818) Add groups and xpost metadata to Entry::print_metadata
Merge pull request #202 from afuna/xpost-links-bug4818

(Bug 4818) Add groups and xpost metadata to Entry::print_metadata