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
Convert true/false metadata field to y/n
Only ID next and prior laws if they exist

This suppresses a PHP notice.
Fix bug preventing metadata from being returned properly

Closes #297. Uses the proper variable name, converts y/n values to TRUE/FALSE, and conditionally unserializes.
Add PLACE_NAME constant
Merge remote-tracking branch 'statedecoded/master'
add unmerged changes from statedecoded