[test] Add standalone runner
[test] Add standalone runner

It could be sometime useful to have a stand alone runner to see how exactly Tika extracts content from a given file.

You can run `StandaloneRunner` class using:

*  `-u file://URL/TO/YOUR/DOC`
*  `--size` set extracted size (default to mapper attachment size)
*  `BASE64` encoded binary

Example:

```sh
StandaloneRunner BASE64Text
StandaloneRunner -u /tmp/mydoc.pdf
StandaloneRunner -u /tmp/mydoc.pdf --size 1000000
```

It produces something like:

```
## Extracted text
--------------------- BEGIN -----------------------
This is the extracted text
---------------------- END ------------------------
## Metadata
- author: null
- content_length: null
- content_type: application/pdf
- date: null
- keywords: null
- language: null
- name: null
- title: null
```

Closes #99.
(cherry picked from commit 720b3bf)
(cherry picked from commit 990fa15)

cwurm/elasticsearch,trangvh/elasticsearch,jimczi/elasticsearch,scottsom/elasticsearch,jbertouch/elasticsearch,tebriel/elasticsearch,henakamaMSFT/elasticsearch,gfyoung/elasticsearch,AndreKR/elasticsearch,umeshdangat/elasticsearch,JervyShi/elasticsearch,nezirus/elasticsearch,robin13/elasticsearch,wuranbo/elasticsearch,mapr/elasticsearch,JSCooke/elasticsearch,ivansun1010/elasticsearch,JackyMai/elasticsearch,wbowling/elasticsearch,zkidkid/elasticsearch,ThiagoGarciaAlves/elasticsearch,alexshadow007/elasticsearch,rmuir/elasticsearch-mapper-attachments,coding0011/elasticsearch,Shepard1212/elasticsearch,fred84/elasticsearch,kalimatas/elasticsearch,elasticdog/elasticsearch,StefanGor/elasticsearch,JSCooke/elasticsearch,s1monw/elasticsearch,s1monw/elasticsearch,naveenhooda2000/elasticsearch,gingerwizard/elasticsearch,MisterAndersen/elasticsearch,JackyMai/elasticsearch,ricardocerq/elasticsearch,elasticdog/elasticsearch,naveenhooda2000/elasticsearch,PhaedrusTheGreek/elasticsearch,ESamir/elasticsearch,andrejserafim/elasticsearch,Stacey-Gammon/elasticsearch,gmarz/elasticsearch,wbowling/elasticsearch,maddin2016/elasticsearch,IanvsPoplicola/elasticsearch,jbertouch/elasticsearch,diendt/elasticsearch,bawse/elasticsearch,rmuir/elasticsearch,AndreKR/elasticsearch,njlawton/elasticsearch,yynil/elasticsearch,henakamaMSFT/elasticsearch,yanjunh/elasticsearch,ggchangan/elasticsearch-mapper-attachments,dpursehouse/elasticsearch,martinstuga/elasticsearch,jbertouch/elasticsearch,episerver/elasticsearch,geidies/elasticsearch,markwalkom/elasticsearch,mikemccand/elasticsearch,lks21c/elasticsearch,vroyer/elassandra,episerver/elasticsearch,zkidkid/elasticsearch,ESamir/elasticsearch,mapr/elasticsearch,scottsom/elasticsearch,bornemix/elasticsearch-mapper-attachments,qwerty4030/elasticsearch,strapdata/elassandra,gingerwizard/elasticsearch,xuzha/elasticsearch,mortonsykes/elasticsearch,avikurapati/elasticsearch,girirajsharma/elasticsearch,sneivandt/elasticsearch,Collaborne/elasticsearch-mapper-attachments,PhaedrusTheGreek/elasticsearch,ricardocerq/elasticsearch,jpountz/elasticsearch,bawse/elasticsearch,GlenRSmith/elasticsearch,gingerwizard/elasticsearch,nilabhsagar/elasticsearch,camilojd/elasticsearch,gingerwizard/elasticsearch,F0lha/elasticsearch,mmaracic/elasticsearch,ZTE-PaaS/elasticsearch,mapr/elasticsearch,s1monw/elasticsearch,strapdata/elassandra5-rc,rhoml/elasticsearch,awislowski/elasticsearch,HonzaKral/elasticsearch,ivansun1010/elasticsearch,markwalkom/elasticsearch,tebriel/elasticsearch,dongjoon-hyun/elasticsearch,camilojd/elasticsearch,spiegela/elasticsearch,StefanGor/elasticsearch,kaneshin/elasticsearch,rhoml/elasticsearch,JervyShi/elasticsearch,StefanGor/elasticsearch,MaineC/elasticsearch,glefloch/elasticsearch,polyfractal/elasticsearch,jprante/elasticsearch,trangvh/elasticsearch,davidvgalbraith/elasticsearch,gfyoung/elasticsearch,snikch/elasticsearch,brandonkearby/elasticsearch,sreeramjayan/elasticsearch,fernandozhu/elasticsearch,Shepard1212/elasticsearch,cwurm/elasticsearch,tebriel/elasticsearch,mohit/elasticsearch,scottsom/elasticsearch,ZTE-PaaS/elasticsearch,clintongormley/elasticsearch,martinstuga/elasticsearch,mohit/elasticsearch,Helen-Zhao/elasticsearch,dpursehouse/elasticsearch,umeshdangat/elasticsearch,PhaedrusTheGreek/elasticsearch,JervyShi/elasticsearch,bornemix/elasticsearch-mapper-attachments,wbowling/elasticsearch,mohit/elasticsearch,spiegela/elasticsearch,clintongormley/elasticsearch,strapdata/elassandra5-rc,geidies/elasticsearch,jchampion/elasticsearch,fred84/elasticsearch,sreeramjayan/elasticsearch,robin13/elasticsearch,gfyoung/elasticsearch,ESamir/elasticsearch,lks21c/elasticsearch,uschindler/elasticsearch,vroyer/elassandra,LeoYao/elasticsearch,martinstuga/elasticsearch,fernandozhu/elasticsearch,strapdata/elassandra5-rc,IanvsPoplicola/elasticsearch,ZTE-PaaS/elasticsearch,diendt/elasticsearch,palecur/elasticsearch,mikemccand/elasticsearch,bawse/elasticsearch,trangvh/elasticsearch,JSCooke/elasticsearch,mapr/elasticsearch,MisterAndersen/elasticsearch,scottsom/elasticsearch,mohit/elasticsearch,dpursehouse/elasticsearch,sneivandt/elasticsearch,AndreKR/elasticsearch,ThiagoGarciaAlves/elasticsearch,elastic/elasticsearch-mapper-attachments,mmaracic/elasticsearch,xuzha/elasticsearch,bawse/elasticsearch,nazarewk/elasticsearch,artnowo/elasticsearch,njlawton/elasticsearch,uschindler/elasticsearch,PhaedrusTheGreek/elasticsearch,glefloch/elasticsearch,masaruh/elasticsearch,diendt/elasticsearch,davidvgalbraith/elasticsearch,diendt/elasticsearch,HonzaKral/elasticsearch,markwalkom/elasticsearch,girirajsharma/elasticsearch,MaineC/elasticsearch,StefanGor/elasticsearch,F0lha/elasticsearch,myelin/elasticsearch,F0lha/elasticsearch,liweinan0423/elasticsearch,obourgain/elasticsearch,jpountz/elasticsearch,IanvsPoplicola/elasticsearch,palecur/elasticsearch,C-Bish/elasticsearch,Collaborne/elasticsearch-mapper-attachments,F0lha/elasticsearch,bjorn-ali-goransson/elasticsearch-mapper-attachments,glefloch/elasticsearch,scorpionvicky/elasticsearch,gmarz/elasticsearch,shreejay/elasticsearch,qwerty4030/elasticsearch,coding0011/elasticsearch,Shepard1212/elasticsearch,shreejay/elasticsearch,liweinan0423/elasticsearch,pozhidaevak/elasticsearch,LeoYao/elasticsearch,rajanm/elasticsearch,ricardocerq/elasticsearch,wuranbo/elasticsearch,alexshadow007/elasticsearch,mortonsykes/elasticsearch,rmuir/elasticsearch,andrejserafim/elasticsearch,ivansun1010/elasticsearch,awislowski/elasticsearch,gingerwizard/elasticsearch,ivansun1010/elasticsearch,StefanGor/elasticsearch,myelin/elasticsearch,gingerwizard/elasticsearch,rlugojr/elasticsearch,IanvsPoplicola/elasticsearch,episerver/elasticsearch,bjorn-ali-goransson/elasticsearch-mapper-attachments,mikemccand/elasticsearch,polyfractal/elasticsearch,MisterAndersen/elasticsearch,nomoa/elasticsearch,maddin2016/elasticsearch,C-Bish/elasticsearch,wbowling/elasticsearch,rmuir/elasticsearch,jchampion/elasticsearch,IanvsPoplicola/elasticsearch,sreeramjayan/elasticsearch,yynil/elasticsearch,JSCooke/elasticsearch,LewayneNaidoo/elasticsearch,uschindler/elasticsearch,Helen-Zhao/elasticsearch,a2lin/elasticsearch,AndreKR/elasticsearch,brandonkearby/elasticsearch,nezirus/elasticsearch,i-am-Nathan/elasticsearch,yanjunh/elasticsearch,PhaedrusTheGreek/elasticsearch,jprante/elasticsearch,winstonewert/elasticsearch,sreeramjayan/elasticsearch,bawse/elasticsearch,gfyoung/elasticsearch,camilojd/elasticsearch,nomoa/elasticsearch,clintongormley/elasticsearch,liweinan0423/elasticsearch,wuranbo/elasticsearch,masaruh/elasticsearch,snikch/elasticsearch,umeshdangat/elasticsearch,LewayneNaidoo/elasticsearch,nomoa/elasticsearch,i-am-Nathan/elasticsearch,liweinan0423/elasticsearch,kaneshin/elasticsearch,kaneshin/elasticsearch,mapr/elasticsearch,strapdata/elassandra,jbertouch/elasticsearch,diendt/elasticsearch,jprante/elasticsearch,sneivandt/elasticsearch,mikemccand/elasticsearch,winstonewert/elasticsearch,avikurapati/elasticsearch,strapdata/elassandra,jchampion/elasticsearch,zkidkid/elasticsearch,martinstuga/elasticsearch,i-am-Nathan/elasticsearch,alexshadow007/elasticsearch,awislowski/elasticsearch,obourgain/elasticsearch,jchampion/elasticsearch,rhoml/elasticsearch,clintongormley/elasticsearch,maddin2016/elasticsearch,ivansun1010/elasticsearch,kalimatas/elasticsearch,alexshadow007/elasticsearch,AndreKR/elasticsearch,rajanm/elasticsearch,i-am-Nathan/elasticsearch,sreeramjayan/elasticsearch,wbowling/elasticsearch,markharwood/elasticsearch,LeoYao/elasticsearch,nazarewk/elasticsearch,rmuir/elasticsearch-mapper-attachments,jprante/elasticsearch,rmuir/elasticsearch,JervyShi/elasticsearch,LewayneNaidoo/elasticsearch,spiegela/elasticsearch,obourgain/elasticsearch,yanjunh/elasticsearch,shreejay/elasticsearch,girirajsharma/elasticsearch,davidvgalbraith/elasticsearch,MisterAndersen/elasticsearch,polyfractal/elasticsearch,kaneshin/elasticsearch,clintongormley/elasticsearch,sreeramjayan/elasticsearch,Helen-Zhao/elasticsearch,avikurapati/elasticsearch,diendt/elasticsearch,wuranbo/elasticsearch,nilabhsagar/elasticsearch,rajanm/elasticsearch,Collaborne/elasticsearch-mapper-attachments,jbertouch/elasticsearch,nilabhsagar/elasticsearch,LewayneNaidoo/elasticsearch,strapdata/elassandra5-rc,C-Bish/elasticsearch,girirajsharma/elasticsearch,scorpionvicky/elasticsearch,fforbeck/elasticsearch,MaineC/elasticsearch,trangvh/elasticsearch,nazarewk/elasticsearch,gfyoung/elasticsearch,yynil/elasticsearch,markharwood/elasticsearch,geidies/elasticsearch,geidies/elasticsearch,wangtuo/elasticsearch,henakamaMSFT/elasticsearch,camilojd/elasticsearch,markwalkom/elasticsearch,henakamaMSFT/elasticsearch,LeoYao/elasticsearch,jpountz/elasticsearch,wenpos/elasticsearch,nknize/elasticsearch,MaineC/elasticsearch,C-Bish/elasticsearch,wuranbo/elasticsearch,ZTE-PaaS/elasticsearch,rajanm/elasticsearch,scorpionvicky/elasticsearch,avikurapati/elasticsearch,mapr/elasticsearch,vroyer/elasticassandra,scottsom/elasticsearch,ESamir/elasticsearch,naveenhooda2000/elasticsearch,lks21c/elasticsearch,mjason3/elasticsearch,fred84/elasticsearch,trangvh/elasticsearch,rlugojr/elasticsearch,rlugojr/elasticsearch,lks21c/elasticsearch,maddin2016/elasticsearch,kaneshin/elasticsearch,ggchangan/elasticsearch-mapper-attachments,elastic/elasticsearch-mapper-attachments,artnowo/elasticsearch,jimczi/elasticsearch,jchampion/elasticsearch,zkidkid/elasticsearch,Helen-Zhao/elasticsearch,wangtuo/elasticsearch,naveenhooda2000/elasticsearch,ricardocerq/elasticsearch,elastic/elasticsearch-mapper-attachments,davidvgalbraith/elasticsearch,mikemccand/elasticsearch,uschindler/elasticsearch,sneivandt/elasticsearch,wenpos/elasticsearch,palecur/elasticsearch,cwurm/elasticsearch,Shepard1212/elasticsearch,fernandozhu/elasticsearch,nomoa/elasticsearch,vroyer/elasticassandra,GlenRSmith/elasticsearch,rhoml/elasticsearch,andrejserafim/elasticsearch,pozhidaevak/elasticsearch,glefloch/elasticsearch,jimczi/elasticsearch,kalimatas/elasticsearch,wbowling/elasticsearch,geidies/elasticsearch,maddin2016/elasticsearch,a2lin/elasticsearch,GlenRSmith/elasticsearch,tebriel/elasticsearch,ESamir/elasticsearch,markharwood/elasticsearch,fernandozhu/elasticsearch,rajanm/elasticsearch,camilojd/elasticsearch,pozhidaevak/elasticsearch,rhoml/elasticsearch,ggchangan/elasticsearch-mapper-attachments,girirajsharma/elasticsearch,bjorn-ali-goransson/elasticsearch-mapper-attachments,JervyShi/elasticsearch,F0lha/elasticsearch,a2lin/elasticsearch,yanjunh/elasticsearch,wangtuo/elasticsearch,mmaracic/elasticsearch,martinstuga/elasticsearch,coding0011/elasticsearch,rmuir/elasticsearch-mapper-attachments,kalimatas/elasticsearch,markwalkom/elasticsearch,coding0011/elasticsearch,dongjoon-hyun/elasticsearch,nezirus/elasticsearch,mmaracic/elasticsearch,nknize/elasticsearch,snikch/elasticsearch,davidvgalbraith/elasticsearch,winstonewert/elasticsearch,gmarz/elasticsearch,wenpos/elasticsearch,episerver/elasticsearch,jimczi/elasticsearch,qwerty4030/elasticsearch,fernandozhu/elasticsearch,davidvgalbraith/elasticsearch,camilojd/elasticsearch,GlenRSmith/elasticsearch,zkidkid/elasticsearch,obourgain/elasticsearch,jimczi/elasticsearch,mmaracic/elasticsearch,a2lin/elasticsearch,awislowski/elasticsearch,geidies/elasticsearch,fforbeck/elasticsearch,xuzha/elasticsearch,LeoYao/elasticsearch,jpountz/elasticsearch,spiegela/elasticsearch,MaineC/elasticsearch,dpursehouse/elasticsearch,HonzaKral/elasticsearch,mjason3/elasticsearch,yynil/elasticsearch,wenpos/elasticsearch,nezirus/elasticsearch,rlugojr/elasticsearch,snikch/elasticsearch,fforbeck/elasticsearch,bornemix/elasticsearch-mapper-attachments,AndreKR/elasticsearch,dongjoon-hyun/elasticsearch,ThiagoGarciaAlves/elasticsearch,kaneshin/elasticsearch,andrejserafim/elasticsearch,snikch/elasticsearch,uschindler/elasticsearch,LeoYao/elasticsearch,palecur/elasticsearch,fred84/elasticsearch,Stacey-Gammon/elasticsearch,liweinan0423/elasticsearch,girirajsharma/elasticsearch,polyfractal/elasticsearch,ZTE-PaaS/elasticsearch,nilabhsagar/elasticsearch,mjason3/elasticsearch,henakamaMSFT/elasticsearch,pozhidaevak/elasticsearch,gingerwizard/elasticsearch,mortonsykes/elasticsearch,strapdata/elassandra,qwerty4030/elasticsearch,ricardocerq/elasticsearch,jprante/elasticsearch,cwurm/elasticsearch,vroyer/elassandra,shreejay/elasticsearch,wenpos/elasticsearch,nknize/elasticsearch,masaruh/elasticsearch,JSCooke/elasticsearch,GlenRSmith/elasticsearch,robin13/elasticsearch,andrejserafim/elasticsearch,njlawton/elasticsearch,strapdata/elassandra5-rc,polyfractal/elasticsearch,brandonkearby/elasticsearch,Helen-Zhao/elasticsearch,rajanm/elasticsearch,Stacey-Gammon/elasticsearch,xuzha/elasticsearch,sneivandt/elasticsearch,scorpionvicky/elasticsearch,avikurapati/elasticsearch,naveenhooda2000/elasticsearch,ivansun1010/elasticsearch,nknize/elasticsearch,artnowo/elasticsearch,elasticdog/elasticsearch,masaruh/elasticsearch,masaruh/elasticsearch,nilabhsagar/elasticsearch,fred84/elasticsearch,robin13/elasticsearch,nknize/elasticsearch,palecur/elasticsearch,myelin/elasticsearch,artnowo/elasticsearch,Stacey-Gammon/elasticsearch,LewayneNaidoo/elasticsearch,jchampion/elasticsearch,kalimatas/elasticsearch,jpountz/elasticsearch,Stacey-Gammon/elasticsearch,episerver/elasticsearch,myelin/elasticsearch,rhoml/elasticsearch,umeshdangat/elasticsearch,xuzha/elasticsearch,pozhidaevak/elasticsearch,strapdata/elassandra,fforbeck/elasticsearch,awislowski/elasticsearch,rlugojr/elasticsearch,HonzaKral/elasticsearch,martinstuga/elasticsearch,yynil/elasticsearch,JackyMai/elasticsearch,xuzha/elasticsearch,nomoa/elasticsearch,shreejay/elasticsearch,dpursehouse/elasticsearch,yanjunh/elasticsearch,mjason3/elasticsearch,mjason3/elasticsearch,clintongormley/elasticsearch,s1monw/elasticsearch,elasticdog/elasticsearch,markharwood/elasticsearch,MisterAndersen/elasticsearch,markwalkom/elasticsearch,ThiagoGarciaAlves/elasticsearch,spiegela/elasticsearch,JackyMai/elasticsearch,s1monw/elasticsearch,obourgain/elasticsearch,gmarz/elasticsearch,tebriel/elasticsearch,myelin/elasticsearch,rmuir/elasticsearch,mmaracic/elasticsearch,njlawton/elasticsearch,nazarewk/elasticsearch,scorpionvicky/elasticsearch,gmarz/elasticsearch,umeshdangat/elasticsearch,PhaedrusTheGreek/elasticsearch,mohit/elasticsearch,dongjoon-hyun/elasticsearch,Shepard1212/elasticsearch,a2lin/elasticsearch,PhaedrusTheGreek/elasticsearch,ThiagoGarciaAlves/elasticsearch,qwerty4030/elasticsearch,cwurm/elasticsearch,JervyShi/elasticsearch,ESamir/elasticsearch,dongjoon-hyun/elasticsearch,JackyMai/elasticsearch,polyfractal/elasticsearch,nezirus/elasticsearch,i-am-Nathan/elasticsearch,LeoYao/elasticsearch,ThiagoGarciaAlves/elasticsearch,alexshadow007/elasticsearch,markharwood/elasticsearch,nazarewk/elasticsearch,fforbeck/elasticsearch,artnowo/elasticsearch,F0lha/elasticsearch,yynil/elasticsearch,C-Bish/elasticsearch,vroyer/elasticassandra,markharwood/elasticsearch,mortonsykes/elasticsearch,snikch/elasticsearch,mortonsykes/elasticsearch,winstonewert/elasticsearch,coding0011/elasticsearch,jbertouch/elasticsearch,elasticdog/elasticsearch,brandonkearby/elasticsearch,rmuir/elasticsearch,andrejserafim/elasticsearch,jpountz/elasticsearch,robin13/elasticsearch,tebriel/elasticsearch,wbowling/elasticsearch,lks21c/elasticsearch,brandonkearby/elasticsearch,glefloch/elasticsearch,winstonewert/elasticsearch,wangtuo/elasticsearch,wangtuo/elasticsearch,njlawton/elasticsearch