Fixed Linux log issues.
Merge pull request #7 from pedzed/master

Overall good fixes, glad that things are working on Linux now.
Config can select key; port & charset are optional
Log now has default dir and uses .htaccess over php
Allows named parameters in the query method

```
$users = $db->query("SELECT `title` FROM `posts` WHERE `author` = :id
AND `title` LIKE :like AND `date` > :date",
[
':id' => 1,
':like' => '%Post%',
':date' => '2014-11-23'
]
)
->exec();
```
Merge pull request #9 from FireDart/dev

Dev