[SETUP] Pin the gems to Vagrant 1.0.6 and Berkshelf 1.2.1

Also added by @dmichael as dmichael/cookbook-elasticsearch@8c5af3f.

Closes #92
[VAGRANT] Remove the dependency on "active_support"

Remove loading ActiveSupport's Hash#deep_merge and copy&paste it directly into Vagrantfile,
in preparation to for supporting Vagrant > 1.1
Update Elasticsearch version to 0.20.6

Closes #81
Pin the "fog" gem to version 1.10.1 to prevent "Unable to activate" errors

    FATAL: Gem::LoadError: ruby_block[Create EBS volume on /dev/sda2 (size: 25GB)] (elasticsearch::ebs line 16) had an error: Gem::LoadError: Unable to activate fog-1.11.1, because json-1.5.4 conflicts with json (~> 1.7)

Closes #93
Use `node.elasticsearch.network.host` and `node.elasticsearch.http.port` in Nginx proxy configuration (if set)

Implemented by abusing Ruby's `rescue` clause, for the sake of not doing some
`if  node.elasticsearch &&  node.elasticsearch.network &&  node.elasticsearch.network.host`
insanity required by (incorrect!) Chef approach for handling missing attributes.

Because `node.not.really.there` _should_ return `nil`, not fail with an exception.

Closes #85
Perform packages update when using the "elasticsearch::ebs" recipe

As suggested by @Pneumatus in elasticsearch/cookbook-elasticsearch#88,
use `node.default.build_essential.compiletime = true` to perform
packages updates _before_ installing Fog requirements.

Credit @Pneumatus
Closes #88
[FIX] Fixed incorrect Hash#deep_merge! implementation

Incorrect implementation in elasticsearch/cookbook-elasticsearch@3bf678c

Related: #92
[VAGRANT] Added support for both Vagrant v1 and v2

* Vagrant 1: `bundle exec vagrant status`, `bundle exec vagrant up precise64`

* Vagrant 2: `/usr/bin/vagrant status`, `/usr/bin/vagrant up precise32`

Related: #92
Added Rake tasks for easier lanuching of nodes in Amazon EC2

Run `rake -T` for a list.
Use `start-stop-daemon` on "debian" families so we can background correctly

Initial bootstraps would start the service, but would not leave the service running (service would die after provision completed and ssh connection severed).

Updates to use start-stop-daemon to start on debian platform families.

Uses the --background option to force the process to properly detach.

May be loosely related to #32.

Closes #91
Fixed incorrect "ark" parameters for the installation directory

If you set a custom installation directory using the :dir attribute, the cookbook still installs ElasticSearch in /usr/local/. This is because the call to ark that downloads and installs ElasticSearch doesn't include the necessary parameters to actually place the unpacked files in a custom location.

This patch updates the default cookbook to properly configure ark when using a custom directory.

Closes #80
Fixed incorrect order of creating the plugins directory

Based on changes from #80.
[BREAKING] Removed the deprecated `conf_path`, `data_path` ... attributes

The `default.elasticsearch.path.*` attributes should be used instead.
Use the "ark" cookbook (0.2.4) from <http://github.com/opscode-cookbooks/ark>
Updated default Elasticsearch version to 0.90.1
Updated the "cloud-aws" plugin to 1.12
Allow creating the instance with an IAM role from the `create` Rake task
Added a "elasticsearch::deb" recipe to install from official Debian package
Added a "elasticsearch::rpm" recipe to install from official RPM package
Fixed the `rake release` task