bugfixes and improvements

I'm using php-pdftk in a medium to large project, and hence I'm extending it a fair bit. Anways here's some bugfixes/new features etc.