making csstidy work correctly and php5.4 comp. also removed all $GLOBALS

the $GLOBALS removal and clean OOP usage was long overdue

fixes https://github.com/Cerdic/CSSTidy/issues/18