Require the custom functions constant
Only save history data to laws_meta if it exists

Closes #296.
Remove "repealed" records from laws_meta

Per #294.
Calculate and store structural statistics

Per #247.
Support the storage of structural metadata

Per #247.
Generate structural statistics

Per #247.
Correct a variable name

Was using the wrong variable name, breaking the whole method.
Offload plain text rendering to Law.inc.php

We actually already offloaded it; now we're removing the extra text generation from law.php. Per #160 and #161.
Include stanza for v0.7
Update copyright years
Explain use of APC, mod_pagespeed, add Varnish
Increment version number in docblock

From v0.6 to v0.7.
Add a docblock
Provide a metadata column in the structure table

Per #247.
Provide the path for the config file

This should not be required, but some Puppet/Vagrant configurations
complain that it cannot find `config.inc.php`, despite that it is
present in `.`, and `.` is a member of `INCLUDE_PATH`.
Change default database name

It's a fair bet that more people are going to name their database
"statedecoded" than "statelaws," especially because the word "laws" has
different technical meanings in different places. It's best to begin
with a more viable default.
Fetch structural metadata from the database

Per #247.
Fix double-escaping of structural metadata

This was being inserted into the database with quotation marks intact,
making the data impossible to unserialize.
First, moving code out of the index.
Updating README and adding necessary files.