Newer elasticsearch, bugfixes

Bumped default Elasticsearch version to 1.3.2. Java 7 is now required, and some tests had to be adjusted.
Fix bug in username not being used in tests because it was wrong in /etc/nginx/htpassword.curl.
Fix bug where port 443 was not open in iptables.
@martinb3 I think we should respect Logstash recommendation : 

http://logstash.net/docs/1.4.2/outputs/elasticsearch

> VERSION NOTE: Your Elasticsearch cluster must be running Elasticsearch 1.1.1. If you use any other version of Elasticsearch, you should set protocol => http in this plugin.