various small fixes

Squashed commit of the following:

commit ff20c5bc81e4908551adc01de5adfa4d518815fa
Author: SebSept <sebastienmonterisi@yahoo.fr>
Date:   Sun Jun 29 18:18:50 2014 +0200

    cleaned .gitignore

    .DS_Store is user-specific and should not appear in a project
    .gitignore. Consider adding it to the user global .gitignore instead.

commit 74ae5d2d4877939c6743dfc88caef4d2d62b2596
Author: SebSept <sebastienmonterisi@yahoo.fr>
Date:   Sun Jun 29 18:16:39 2014 +0200

    no need for app/database/developpement.Sqlite to be executable

commit ebc42e02038aff46a452445e09ef9ba5a54655f0
Author: SebSept <sebastienmonterisi@yahoo.fr>
Date:   Sun Jun 29 18:14:35 2014 +0200

    bad namespace for exeption

commit a8bca39a790edcf6ea2700ef38c77dfe0758ca97
Author: SebSept <sebastienmonterisi@yahoo.fr>
Date:   Sun Jun 29 18:10:50 2014 +0200

    removed _ide_helper.php from versionning

commit ef323039a5b319b557d20301cbd7c04a50b5d3e0
Author: SebSept <sebastienmonterisi@yahoo.fr>
Date:   Sun Jun 29 18:00:44 2014 +0200

    avoid logical operator \n\n https://insight.sensiolabs.com/projects/eedbee2c-cfb3-4642-a8e3-eb319b909987/analyses/1?status=violations#168231877