Merge pull request #1 from nightscout/master

importing lastest nightscout master code
Exploring caching and gzip techniques
Create database_configuration.json
adding Content-Encoding: gzip to header

Trying some experiments to see if I can serve alarm.mp3.gz files
instead of the uncompressed originals.
changed gzip:/^/mp3/ to gzip:true
Adding travis support
changed gzip:true back to gzip:/^/mp3/

The .mp3 files will not be sent compressed without this.
test
Update database_configuration.json
Enabled gzip compression!

changed gzip:'true’… According to the node-static read me this
shouldn’t work, but it works to compress all files.

/audio/alarm.mp3 drops from 587,716 bytes to 4,822!

TEST OUTPUT
macbookpro:audio dev$ curl http://localhost:1337/audio/alarm.mp3
--silent --write-out "%{size_download}\n" --output /dev/null
587716

curl --compress http://localhost:1337/audio/alarm.mp3 --silent
--write-out "%{size_download}\n" --output /dev/null
4822
Update README.md

Added additional instructions to get my.env working.
gzip compression is working
Enabled HTML5 local storage cache

Used appcache-node to generate a nightscout.appcache file which
includes directives on which files to cache.
Added appcache-node to package.json
HTML5 app cache: adding more client libraries

(socket.io and bower)
Merge pull request #16 from brianhanifin/feature/cache

Gzip / Caching Improvements
Merge branch 'feature/cache'
Adding retrospective predictor. When viewing historical data, time and sg become stale via a strikethrough. Focus now line is fixed at 30 minutes less of the extent and if sg if not within a tolerance of time, sg is displayed as "---".
Update client.js
Merge pull request #18 from nightscout/retrospective-prediction

Adding retrospective predictor. When viewing historical data, time and s...