classify php functions

I wrapped the PHP functions inside of a class in regDomain.class.php and then made the original regDomain.inc.php a stub file that uses the new class structure.  This means backwards compatibility is not affected for scripts already using the regDomain.inc.php as the original test script still works.

I also updated all of the core TLD Tree files to reflect the many new TLDs added since the last update including the 'museum' that is actually in the test script.

Finally, I made a small change to the bash test script to support both OSX and Linux with the newline sed of the FQDN variable.