osx: remove compatibility conditionals for 10.6

At this point 10.6 is pretty old and we don't want to supporting old platforms.
I'm killing all the 10.6 compatibility code before doing more refactorings.

Next commits will also use newer Objective-C syntax such as literals and
@autoreleasepool.
cocoa_common: use better power management activity description

Now one might actually undestand why this power management assertion is used
in the first place.
macosx_application: move escape_loadfile_name in this file

This allows to move back osx_common to raw C.
cocoa_common: use cocoa APIs to go fullscreen

This removes a bit of ugly code and bookeeping which is never bad. `drawRect`
needs to guard against different window instances since in fullscreen the view
is wrapped in a fullscreen window provided by the toolkit (a instance of
NSFullScreenWindow to be precise).

The event handling was moved to the view so that it can still get all the
events when in the fullscreen window. Ideally these should be moved to
some NSResponder subclass within macosx_application and made available even
when no window is present. I refrained from this because "small steps".
macosx_application: use @autoreleasepool

I don't even want to know how this worked. It scares me a lot.
cocoa_common: fix a bug in window initialization error

We didn't bail out soon enough. Bug was introduced by 134f3e97.
macosx_application: refactor filename escape

Use Objective-C's new literal syntax to make the code simpler.
macosx_application: refactor psn matching code

Objective-C is shorter / more readable than snprintf.
cocoa_common: fix native-fs state saving

`opts->fs = VO_FALSE` was forgotten
cocoa_common: refactor fullscreen code for readability

Break up the code into several methods and reduce code duplication. Also add
comments to make the intention of all this clearer.
cocoa_common: fix mouse hiding outside of player view

This bug was the result of crappy position detection in the previous code
combined with the commits moving autohide delay out of the cocoa backend and
into the core.

The hit detection was improved and now takes also account of interactions with
the Dock and Menubar. Moreover VOCTRL_SET_CURSOR_VISIBILITY now has an effect
only if the mouse position matches with this improved hit detection. This means
that both interaction with the Dock and Menubar are considered as well as
moving the mouse inside another screen.