Fix some OUString construction error with VS2013

A bit unclear to me whether the code really did what was intended with
earlier VS versions either.

VS2013 said: error C2664: 'rtl::OUString::OUString(const sal_uInt32
*,sal_Int32)' : cannot convert argument 1 from 'const char *' to
'const rtl::OUString &'

Reason: cannot convert from 'const char *' to 'const rtl::OUString'

No constructor could take the source type, or constructor overload
resolution was ambiguous

Change-Id: Ie23d8382515064062a3ed46418d9d4a977b35d28
Bypass CppunitTest_sal_osl_security with VS2013 for now, hangs

Change-Id: I8500b0cc4e541c96124425b713ba96226ff4715d
Include <algorithm> for std::min() and max()

Change-Id: I88a590344292b4adf562ca83f5072d543b5924ad