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