faster loading on related fields for patent

Using eager loading through SQLalchemy, we run fewer SQL statements when running `consolidate.py`. On my local machine, I got the runtime down to  about %18 of the original.