use the direction keys like 'DoubleUp' instead of easy to mess up code like 1; will also make the community maintained pebble app compatable with the endpoint used by Rajat's users
fixed merge conflicts
added perfect score comment
reformat to make cloudpebble happy
Merge pull request #9 from nightscout/feature/direction-sync

Use direction keys like 'DoubleUp' instead of codes like 1