Fix: class-loader directory does not exist

PHP Fatal error:  Uncaught exception 'InvalidArgumentException' with message 'The "/src/Cilex/../../vendor/symfony/class-loader/Symfony/Component/ClassLoader" directory does not exist.' in /vendor/symfony/finder/Symfony/Component/Finder/Finder.php:497
Fix remove symfony/class-loader from project
Add support for config files using a PHP file that returns a array
Throw exception when decode json fails

- If the json configuration file is unable to be decoded, it would be nice to get such a message
Update config exception for allowed types

It only specified yaml or xml, but it can also support json
Merge pull request #24 from beshkenadze/master

Fix lost library class-loader
Merge pull request #25 from christiaan/feature_php_config_file

Add support for config files using a PHP file that returns a array
Merge pull request #26 from benmatselby/exception-decode-json

Exception decode json
Fix bit rot after a short hiatus

The composer file was out of date and terribly out of date at that. As such
I have updated it to match the new Composer format. I have also updated the
composer.json with the latest formatting and bumped the version number to
5.3.2 as required by the Symfony Components due to a critical bug in PHP
5.3.2.

UIn addition the compile script was moved to a 'bin' folder to make it
clearer that this is a binary.
Make PSR-2 Compatible

Fix all coding standards in the src folder to match the PSR-2 coding standards
Use Cilex Pimple Service Provider.
Point to new location and fix structure
Added Console Service Provider to packagist
refx cilex/cilex#30
Merge pull request #31 from pulse00/patch-construct

Fixed constructor warning
Add Vagrant configuration

With this commit I have added a vagrant configuration for Cilex. The
puppet configuration is specialized for the Ubuntu Precise Pangolin
base box but it works fine for me.

The only issue that is unsolved is that the phpunit binary is not
executable and thus fails if the executable bit is not added.

In addition to adding a vagrant configuration I have also included
PHPUnit in the composer.json and updated the dependencies.
Add option to pass parameters / values to the constructor.

The DIC should be initializable from the calling location; as such a new
parameter was added to inject values using the constructor in the same
way as Silex handles this.

Thanks to @simensen for providing this information and feature request.
Add console-service-provider directory for compilation

Added the console-service-provider library to the finder that compiles the phar, fixes exception:
PHP Fatal error:  Class 'Cilex\Provider\Console\ConsoleServiceProvider' not found in phar://
Add support for symfony2.2 components

The constructor method signature for
Symfony\Component\Validator\Validator has changed.
It now requires an instance of
Symfony\Component\Translation\TranslatorInterface which doesn't exist
in symfony2.1
Hence we sniff for the existence of the class(ugly, but I don't see
another way)
Also update composer.json to allow symfony > 2.1
Merge pull request #36 from kimausloos/master

Added console-service-provider to the phar compiler finder.