Updated the script to support multiple sleep periods.
Updated the script to support multiple sleep periods.

* Removed the call to flatten the data as it would result in awake periods between sleep periods to appear to be joined in Graphite graphs instead of being separated.
* This would happen when the API returned more than one sleep period.
* This will also be useful in cases where the Jawbone wearer takes a power nap!

jonlives/jawboneup_to_graphite,RyanFrantz/jawboneup_to_graphite