root: make Cocoa default, add --with-x11 option

On OSX >= 10.8 ROOT now uses Cocoa backend by default instead of X11.
This replaces --with-cocoa option with --with-x11 option.

This patch is based on nomis2k's work from #682 .