Add SQL::Generator::Emitter::Root null object

* Change parent to refer to the parent emitter
* Replace nil checks with null object
Fix flay, flog and reek thresholds