Ph.D. Thesis: Towards Reliable, Scalable, and Energy Efficient Cognitive Radio Systems