Update gitignore to exclude dev files
Fix type in mysql charset for example config
Tidy up index.php
Tidy up layout