Refactor library to LGR terminology

Rename library from "idntables" to "lgr", and make similar changes
to the model and function naming to reflect the change from "tables"
to "rulesets".
PEP 8: Convert tabs to spaces
Convert to relative importing
Update RelaxNG schema for recent specification updates