jni: don't attach thread if already attached
jni: add jni_AndroidJavaSurfaceToNativeSurface

And remove jni_LockAndGetAndroidSurface.

The mNativeSurface or mSurface pointer can change if surface size or color
change. The added call allow to get an up to date native_surface.
rename mSurface to mSurfaceView
rename setSurfaceSize to setSurfaceLayout
VideoPlayer: Surface size and color is now set from jni

jni_ConfigureSurface calls VideoPlayerActivity.configureSurface.

configureSurface is only used for gingerbread and before.
After gingerbread, there are fully native way to configure the surface.
use android_window vout starting gingerbread

This vout always use subtitle surface.