I have the perfect app. Sweet Dreams!
It will turn everything off at a certain time and turn everything back on at a certain time. It is also smart enough to turn back on due to motion or loud noise.
Check it out:
Sweet Dreams - Android app on AppBrain