update config-example.php

Also added /images/ to gitignore because pulling in these changes, so we
can have both.
Use json for frame data
Add 10min-caching
remove console.log add cache to gitignore
Merge pull request #40 from MaPePeR/database-json

Using json to transmit the data and cache the output for 10 mins