What are the key features introduced in Java 8, and how do you use them in your automation frameworks?