Base class and utility methods for manipulating Perl via PPI. Pulled out from the Padre::Task::PPI code.