Fix some Jenkins build issues (elastic/elasticsearch#221)
Fix some Jenkins build issues (elastic/elasticsearch#221)

1) The C++ 3rd party libraries need to be copied to cppdistribution
   before gradle assemble runs
2) Use gradle check instead of gradle test in the build
3) We don't need Maven or pbzip2 any more
4) Make new_version.sh script update the right files
5) Keep a copy of the built plugin after the build

Outstanding TODOs:

1) Versioning needs to be brought in line with Elasticsearch
2) We are building a plugin per platform rather than one containing
   all platforms - we need a step that runs when all platforms have
   completed to create a single plugin
3) Strip the C++ binaries so the uploads aren't so big

Original commit: elastic/x-pack-elasticsearch@0cf32e134ff08d4783d50a98e7c08203a11ca891

robin13/elasticsearch,gfyoung/elasticsearch,gingerwizard/elasticsearch,nknize/elasticsearch,scorpionvicky/elasticsearch,HonzaKral/elasticsearch,strapdata/elassandra,vroyer/elassandra,gfyoung/elasticsearch,HonzaKral/elasticsearch,gfyoung/elasticsearch,robin13/elasticsearch,coding0011/elasticsearch,nknize/elasticsearch,GlenRSmith/elasticsearch,coding0011/elasticsearch,gingerwizard/elasticsearch,uschindler/elasticsearch,gingerwizard/elasticsearch,strapdata/elassandra,coding0011/elasticsearch,scorpionvicky/elasticsearch,gingerwizard/elasticsearch,strapdata/elassandra,scorpionvicky/elasticsearch,uschindler/elasticsearch,strapdata/elassandra,GlenRSmith/elasticsearch,gfyoung/elasticsearch,nknize/elasticsearch,scorpionvicky/elasticsearch,gingerwizard/elasticsearch,HonzaKral/elasticsearch,coding0011/elasticsearch,coding0011/elasticsearch,uschindler/elasticsearch,robin13/elasticsearch,vroyer/elassandra,gfyoung/elasticsearch,uschindler/elasticsearch,scorpionvicky/elasticsearch,robin13/elasticsearch,GlenRSmith/elasticsearch,strapdata/elassandra,nknize/elasticsearch,gingerwizard/elasticsearch,GlenRSmith/elasticsearch,GlenRSmith/elasticsearch,nknize/elasticsearch,uschindler/elasticsearch,gingerwizard/elasticsearch,robin13/elasticsearch,vroyer/elassandra,HonzaKral/elasticsearch