renamed Document to Resource
Merge branch 'master' of github.com:matthijsvandenbos/php-spider