Added missing methods to support jdk 1.6.0_65.
Added base implementation for JDK 8 support.
Provide default implementation of getScreenInsets to allow changing underlying Toolkit.
This change allows use of the XToolkit on Linux, and other headless implementations.