CS: added method visibility
Added phpunit dependency to composer.json
Tidy up of tests

- Fixed visibility for setUp() method.
- Make all tests extend DoctrineTestCase.
- Escaped backslash in namespace strings.
Deleted DoctrineTestCase and added phpunit to .travis.yml
Used single quotes in namespace strings
Replaced double backslash with single backslash in namespace strings
Merge pull request #31 from vilartoni/master

CS fixes and tidy up of tests
Tidy up and CS fixes

- Renamed $_elements to $elements
- Added new line before return statements
- Returned early where possible
- Fixed usage of constant
- Removed duplicated code
- Removed unnecessary return statement in offsetSet
Added newline
Removed call to containsKey()
Merge pull request #36 from vilartoni/master

Tidy up and CS fixes
small style changes to comply with PSR2
Use spaces around not operator and have constructor on one line
Merge pull request #42 from hboomsma/feature/psr2

small style changes to comply with PSR2
Added build status
Merge pull request #47 from marcj/patch-1

Added build status
Merge remote-tracking branch 'upstream/master'

Conflicts:
	.travis.yml
	lib/Doctrine/Common/Collections/ArrayCollection.php
	lib/Doctrine/Common/Collections/Collection.php
	tests/Doctrine/Tests/Common/Collections/ArrayCollectionTest.php