Update codes to suit newest version of PHP and libarchive

I did four main changes in this pull request.
1. Update codes to successfully complie with PHP 5.5 and libarchive 3.1.2, of course , with old PHP/libarchive versions as well.
2. Fix some bugs: zend_parse_parameters with a format string "l" , should be passed a long pointer, not a int pointer.
3. I change the method signature of ArchiveReader 's __construct  and take an optional argument : block_size. It will be by read callback to keep block alignment. This brings into correspondence with archive_read_open_xxx functions
4. Add skip callback if the PHP Stream support seek .