patch for mac os x

1. add the newer gtk-mac-integration (previous ige-mac-integration)
2. add the support quicktime x (which support 64 bit)
3. add the dock icon
4. fix other error that cannot compiled on xcode 4.6.3 (OSErr changed from long to SRefCon)

todo:
1. segment fault when call >on_menu_open_main_window() and on_menu_quit()
2. set_time_bar not working (test mac os x 10.8.3 with xcode 4.6.3, xquartz 2.7.4
Merge pull request #32 from liudongmiao/master

patch for mac os x