Check whether any amendment attemps could be found

Per #505.
Minor code formatting improvements
Create a metadata storage function

Closes #508.
Create an interface to retrieve and display CourtListener court decisions

Per #245.
Include CourtListener snippets

This trims them down to 100 words and wraps them in ellipses. Towards
#245.
Increase the size of tooltip text.

Closes #472.
Replace CourtListener's sort with order_by

Per #245.
Replacing rubyism with better PHP.
Fix an HTML error
Preempt search results with a link when searching for a section number

Closes #374.
The first argument to DOMDocument should be the xml version.
This is causing all content to show up in the 'version' field.  Relates to #477
dom_import_simplexml() doesn't appear to be used.
length is a property of DomNodeList, not DomElement. #477
Creating generic solr handler; Clearing solr when we empty the database.
Step 0.5 of #500
Adding return true to solr handler. #500
Tweaking entity decoding.  Don't know how the ampersand replacement got lost.
Add a few new files to be ignored

Towards #510.
Test that PHP's xml extension is loaded

This doesn’t test that it’s installed, just whether it’s loaded, but
this may well be good enough. Closes #513.
Dictionary terms need a trailing slash in the url.
Store $laws->config within the export while() loop

Per #495.