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
Fix an int typehinting bug & few other things.
Cleaned-up unneeded code & comments
More logging options + better logging info
Update readme
Merge pull request #10 from FireDart/dev

Update readme
Updated .gitignore.
Moved source files to /src.