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 4691) One theme for Ciel
(Bug 4629) Reorder entry metadata print order, with mood on top to preserve linespacing
Merge pull request #180 from momijizukamori/Bug4691/Ciel-Oloriel

(Bug 4691) One theme for Ciel
Merge pull request #181 from momijizukamori/Bug4629/MetadataOrder

(Bug 4629) Reorder entry metadata print order, with mood on top to prese...
Bug 4640 - Core2: remove spaces from text props
http://bugs.dwscoalition.org/show_bug.cgi?id=4640
-- move ending spaces from props to code
Bug 3798 - Rename Group One/Two to Main Module Section/Second Module Section
http://bugs.dwscoalition.org/show_bug.cgi?id=3798
-- rename module sections to Main/Second in Brittle
-- rename module section to Sidebar in Bases
Merge pull request #184 from ninetyd/bug4640/core2_hardcoding

Bug 4640 - Core2: remove spaces from text props
Resolve case conflict by removing extra file
Merge pull request #185 from ninetyd/bug3798/modulesections_names

Bug 3798 - Rename Group One/Two to Main Module Section/Second Module Sec...
(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 4798 - SUPPORT: Remove red text box on requests for users with viewinternal
http://bugs.dwscoalition.org/show_bug.cgi?id=4798
-- Dont't display info box to users with viewinternal priv
Customize: display' active entries' module to all users
Customize: add note for paid-only modules
http://bugs.dwscoalition.org/show_bug.cgi?id=4794
http://bugs.dwscoalition.org/show_bug.cgi?id=4793
-- display active entries module option to all users for style-mine purpose
-- add note for paid-only module options
-- add note for paid-only module heading options
Merge pull request #186 from ninetyd/bug4794/paidonly_modules

Customize: display' active entries' module to all users
Merge pull request #187 from ninetyd/bug4798/support_infobox

Bug 4798 - SUPPORT: Remove red text box on requests for users with viewi...
(Bug 4796) Use the correct option value for showlocation

showlocation expects values of Y/N/F/R, but the select dropdown was
mismatched A/N/F/R, which led to a mismatch.

Fix is to make sure we have consistent values all around.

This also makes the order of the options in the dropdown consistent.
Bug 4801 - Rename Second Module Section to Secondary Module Section
http://bugs.dwscoalition.org/show_bug.cgi?id=4801
-- replace 'second' with 'secondary' in all styles
(Bug 4799) : Fixed tyop as per bug.
(Bug 1960) Test LJ::Tags:is_valid_tagstring

Easier than manually testing since we don't have to reload the page and
try to remember regression testing on futher changes.

Some basic tests, and one specific to this bug, "truncated right at a
trailing space", which confirms that we can no longer save a tag with a
trailing space, even if the trailing space only is there after we've
truncated.