Extracted the dependency on AWT classes into separate class so users can
use google analytics in non-awt environments. Fixed #5