Update connector.php

Using MySQL constants in getFetchConstant(). 
Switch optimization by grouping "BOTH" and "MYSQL_BOTH" with "default".
Removing breaks, because we are using return.
Merge pull request #35 from lpotherat/patch-1

Update connector.php
Update connector.php

- fetch() and fetchAll() : set default value to "BOTH" to avoid ambiguity
- fetchAll() : passing $mode arg to PDOStatement->fetchAll().
- getFetchConstant() : removing breaks, useless with return. Grouping default with "BOTH" and "MYSQL_BOTH"
Merge pull request #37 from lpotherat/patch-2

Update connector.php
Remplacement des MYSQL_* par ASSOC, BOTH, NUM.

Remplacement des MYSQL_ASSOC, MYSQL_BOTH, MYSQL_NUM, dans les modules
par : ASSOC, BOTH, NUM.
Ajout du referer dans les logs

Ajout du referer dans les logs et ajout des logs dans les modules
sla_secure et sla_articles
Move attachments functions to sla_models
Update module sla_articles

Système des catégories via la table sl_joins
Update sla_categories

Clear linked categorie on delete
Update tab system, see sla_articles

Implement tab system
Update interface
Update interface
Update sla_menus
Update interface

Remplacement de javascript:void(0) pour #
Update sla_articles
Move interface class
Update db
Update tab system
Merge database optimisations from lpotherat.
Added escape on sla_articles and fixed problem on escapeArray functions