Sleep Cycle for the iPhone tracks and graphs quite a bit of useful information and may provide many of the features you're looking for. (Note it uses the phone's accelerometer for sleep tracking, so be wary your partner/bed may skew data - i haven't studied the effects). You can get some raw data, and it plots some commonly asked datasets. At the very least, it can provide a quick way to collect data and correlate what may cause a lousy night's sleep (beer and D&D for example).
It doesn't embarrass you publicly on Facebook, but I'd personally write that off as a feature.