Many people think eating before bed is bad, but it can actually help you sleep better if you choose the right food items.