Ignore build-related files in "git archive" (fixes #8167)

This is useful for keeping standard "composer create-project"
checkouts clean. Unless they use "--keep-vcs", in which case
.gitattributes is (correctly) ignored.

This has the side effect that archive-checkouts can't
run phing or phpunit scripts, but I think that's
acceptable.
Merge pull request #29 from chillu/pulls/gitattributes

Ignore build-related files in "git archive" (fixes #8167)
Remove require-dev section, composer doesn't handle it well

Any "composer require <module>" call will first call
a "composer update". This *automatically* includes dev requirements,
without providing a way to turn off this behaviour.
A workaround would be "composer require --no-update <module> && composer update --no-dev <module>",
but that drastically reduces the usefulness of the command
for our target audience (moderately technical devs).

In the end, the small faction of devs needing the dev dependencies
also know how to install them on their own. And having a local phpunit
build actually gets in the way more than it helps in case you have
it installed through PEAR already (can get really weird when using the
PEAR provided "phpunit" binary, but the autoloader finds the composer managed classes).
Merge pull request #36 from chillu/pulls/require-dev

Remove require-dev section, composer doesn't handle it well
Updated behat.yml to reflect changes in behat-extension module
Merge remote-tracking branch 'origin/3.0' into 3.1
FIX: Put self.version in composer dependencies.

Now that https://github.com/composer/composer/pull/1883 is in Composer, self.version
will work as a requirement for framework & cms.  This will simplify the release
process a great deal.

Ultimately, the release of rc1 will be the place to test that, but it seems appropriate
to get this in there for that.

If it succeeds with 3.1-rc1, I'd suggest we backport to 3.0 and 2.4.
Merge pull request #39 from sminnee/composer-uses-self-version

FIX: Put self.version in composer dependencies.
Merge remote-tracking branch 'fork/3.1' into 3.1