Add simple document selector to TiledLibreOffice

Make it easier to handle several test docs. Until now you had to
change the hardcoded document in the Xcode project and in the lo.mm
source file and re-build. Now it is enough to upload a new test doc to
the device using iTunes. If no test docs are present, use the good old
bundled test1.odt.

Change-Id: I3cbb9f74c17332ffc6ac90dd1e226fac005c3387
Use cppu::BaseMutex instead of framework::ThreadHelpBase

Change-Id: I77b88bf1bed18c6a863f9e6d753035c90ef64c07
Remove unused ThreadHelpBase base

Change-Id: Ib530dec8e812d8ecccba47c70e3d1e9640083378
Use SolarMutexGuard directly

Change-Id: Ia80e709bea172722aa07ee75ebeeef4ac8f5281a
Remove unused ThreadHelpBase base

Change-Id: I367ffa9343a0227eab9726c636d7e8e622219bf4
Use SolarMutexGuard directly

Change-Id: I5408403318691f9b83c5b69658a37916fa23ea69
Use SolarMutexGuard directly

Change-Id: I0438d85b0c51010eff9e8d53ed8acada98563a20
Use SolarMutexGuard directly

...and access safe members directly

Change-Id: I46fa7683922b0604118f6da219f44204767f4618
Use SolarMutexGuard directly

Change-Id: Ib63b12595f4f9a43c4742d8cf8cfea4713ebdf14
Use SolarMutexGuard directly

Change-Id: Ie13cf612b2f9b15698a84d35d420b0b7c0009e1b
Use SolarMutexGuard directly

Change-Id: Id5ea9c7c7c3cb56d080daeb1e2e2c72483a37a4e
Use SolarMutexGuard directly

Change-Id: Id9828f95673d1eaf87e6a1c22bf8f07e6861f2f4
Use SolarMutexGuard directly

Change-Id: I4b902ac0f23d1b7e697dfec0ba31e6f396059a49
Use SolarMutexGuard directly

Change-Id: I58d52cfec21f2f93a6a17469bf31fc70d93c26a9
Use SolarMutexGuard directly

Change-Id: I01c937881031c85a99aacbfbb3463203eb3d0b3e
Use SolarMutexGuard directly

Change-Id: Iffc5e75c45502c770e9a3eee2a327df1e6843c9f
Use SolarMutexGuard directly

Change-Id: Ia963e00be69d7a7b5b1d45f9827b05b69cd24a48
loplugin:passstringbyref

Change-Id: I4de62139cc479ee1f96988b7f2c2f5f2bfae44a6