change thrift_linter.py to use new register_options

2nd attempt. Integration test runs with this version. The trick was I had added `default=False` in previous branch, which was inappropriate and ended up breaking the logic for falling back to a value defined in BUILD file. So now it explicitly initializes it to `None`.