fix db function calls from PDO migration
Avoid PHP notices by checking for variables' existence
Whitespace formatting
Fix the SQL escaping style to use PDO's approach

Per #253.
Fix a bug that slowed down paragraph iteration
Fix bug in how section hierarchies are established
Require a literal 0 rows in response to a PDO query
Remove debugging line
Use a better error message
Small changes to error logging
Overhaul the code-export functionality

Improvements to #280, but also to further progress towards #161.
Make permalinks relative

As a step towards saner URLs (#275), make permalinks relative. The
browser will figure out the rest.
Prune law_views entries that are greater than a year old

Closes #271.
Support a state-specific autolinker

Per #262.
Improve how plain text versions of laws are generated

Per #160 and #161.
Require the custom functions constant
Only build up a definition ancestry if we have any data

Why we wouldn't have this, I don't know, but an error gets thrown by the parser sometimes.
Do not attempt to autoload State_Autolinker
Switch from a subquery to a left outer join

Note the change in how `laws_meta.meta_value` is evaluated in the `WHERE` clause.
Improve clause to avoid including structures containing only repealed sections