Added compiler directive to include getopt.h on qt versions >= 4.8
Merge pull request #177 from jeremy-brenner/master

Qt 4.8 fix
Merge https://github.com/johnbintz/jasmine-headless-webkit into combined