Use Ruby, not shell in `not_if` conditions.

Use Ruby builtins to check directories/symlinks.

The test command spawns a shell, which is slow
and it breaks my chefspec, because it requires to mock commands.

Closes #190
Updated Elasticsearch to 0.90.10 in "elasticsearch::deb"

Closes #191
Updated Elasticsearch to 0.90.12 in the "elasticsearch::deb" recipe
Updated Elasticsearch to 0.90.12 in the "elasticsearch::rpm" recipe
Updated the default Elasticsearch version to 0.90.12
Use correct URL for "IAM for instance" AWS documentation
Added the `maxBackupIndex` option to the default log appender

See http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/RollingFileAppender.html#maxBackupIndex

Closes #192
Fixed the "maxBackupIndex" support

* Renamed `maxbackupindex` to `max_backup_index`
* Fixed the ERb syntax to not mess up the YAML format and indentation
* Use the same "maxBackupIndex" also for slowlogs

Verified with Vagrant.

Related: #192
Updated the "fog" gem in "elasticsearch::ebs" recipe to 1.21.0

I had some errors when running the cookbook as, it turned out, I didn't set the AWS region correctly.
Fog (version 1.12.1) returns a null instance for aws when the region is incorrect with no verbose debug information when this occurs:

    NoMethodError: ruby_block[Create EBS volume on /dev/sda2 (size: 25GB)] (elasticsearch::ebs line 16) had an error: NoMethodError: undefined method `volumes' for nil:NilClass
    /var/chef-solo/cookbooks/elasticsearch/libraries/create_ebs.rb:41:in `block (2 levels) in create_ebs'

Instead with the latest version it was able to show the issue more explicitly:

    ArgumentError
    -------------
    Unknown region: "us-west-2b"

Closes #200
Changed `AWS_ACCESS_KEY` variable name to `AWS_ACCESS_KEY_ID` in the Rakefile
Pinned "faraday" dependency for "ridley" to 0.8.9

Prevent error:

    /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/faraday-0.9.0/lib/faraday.rb:99:in `method_missing': undefined method
    `register_middleware' for #<Faraday::Connection:0x000000035e5b48> (NoMethodError)

Related: RiotGames/ridley#239, RallySoftware-cookbooks/cookbook-development@a92d3b9
Added the `skip_start` attribute

Sometimes we may not want elasticsearch to start right after an installation.

Closes #201
Revert "Fixed the "maxBackupIndex" support"

This reverts commit e65d06f7388185fe26647413bfac41757746a7a4.
Revert "Added the `maxBackupIndex` option to the default log appender"

This reverts commit 7661969159ffecfd4a904a943cf250bcc4e49d6e.
Release 0.3.8
Added Debian specific configuration to the init script

Closes #205
Closes #204
Added a "elasticsearch::customize" attribute file to customize the cookbook's default attributes

Closes #208

Related: #112, #168, #178, #179, #180, #196, #208
[FIX] Changed, that Chef doesn't change the owner of `pid_path` to the Elasticsearch user

Since a95a3f7, the default `pid_path` attribute is "/usr/local/var/run".

However, the default recipe define this as directory resource and
specify that user/group owners are `elasticsearch`, which clashes with
other services running potentially on the system.

This directory should belongs to root and allow elasticsearch to write its pid.

A `chown` call is added into the init script.

Closes #193
Closes #194

Related: #108
Release 0.3.9
Improved the messages printed from the init script