title: Composer fails, package needs another package in require-dev
body: <p>I am developing an application with Laravel 4 I have to develop a package for it, my package (let's call it xPAckage) needs this package vespakoen/menu, as you can see from its github 
  <a href="https://github.com/vespakoen/menu" rel="nofollow">https://github.com/vespakoen/menu</a>
  I have to add it to xPackage composer.json in  </p>
  
  <pre><code>      require-dev
  </code></pre>
  
  <p>but the issue is this the by running the composer install application is not going to install the contents of require-dev of its packages it only installs the packages of </p>
  
  <pre><code>require part or require-dev 
  </code></pre>
  
  <p>of its own. </p>
  
  <p>And if I put that in the require part of the xPAckage, I will get the following error when running the composer update,</p>
  
  <pre><code> - The package is not available in a stable-enough version according to your min
    imum-stability setting
  </code></pre>
  
  <p>how should I solve this issue?</p>
  
  <p><strong>Edited : (on 23rd of Nov)</strong>
  The xPackage composer.json is like this:</p>
  
  <pre><code>{
  "name": "packageName/xPcakge",
  "description": "package description",
  "keywords": ["xPAckage"],
  "authors": [
      {
          "name": "user",
          "email": "email@domain.net"
      }
  ],
  "require": {
      "php": "&gt;=5.4.0",
      "zofe/rapyd": "1.3.*",       
      "vespakoen/menu": "dev-master"   
  },
     "autoload": {
      "classmap": [
          "src/controllers",
          "src/views",
          "src/models"
      ]
   }
  }
  </code></pre>
  
  <p>And this is the composer.json file of the application,</p>
  
  <pre><code> {
  "name": "laravel/laravel",
  "description": "The Laravel Framework.",
  "keywords": ["framework", "laravel"],
  "license": "MIT",
  "type": "project",
  "require": {
      "laravel/framework": "4.2.*"
  },
   "require-dev": {
      "packageName/xPcakge" : "dev-master"                   
  },
  "autoload": {
      "classmap": [
          "app/commands",
          "app/controllers",
          "app/models",
          "app/database/migrations",
          "app/database/seeds",
          "app/tests/TestCase.php"
      ]
  },
  "scripts": {
      "post-install-cmd": [
          "php artisan clear-compiled",
          "php artisan optimize"
      ],
      "post-update-cmd": [
          "php artisan clear-compiled",
          "php artisan optimize"
      ],
      "post-create-project-cmd": [
          "php artisan key:generate"
      ]
  },
  "config": {
      "preferred-install": "dist"
   }
  }
  </code></pre>