CMake commit for starting 0.11 release

- see commit 30cb1ed4ffc82 for autotools
Add a bit more debugging info in cmke try-compile messages
/bin/bash is not always available (BSDs etc)
CMake: LOCATION target property has been deprecated in CMake 3.0.0,
so replace it with file(GENERATE ..) and generator expressions.
CMake: Remove redundant messages from cmake/LLVM.cmake
CMake: the block test is no longer failing with clang 3.5 (see
commit 152943e5d6a for autotools part)
Add cmake counterpart to commit d3c5b6a0 (test clGetKernelArgInfo
failing on LLVM 3.2)
Modify test_clGetKernelArgInfo to also test for issue #100
CMake: make add_test_custom usable in other than workgroup tests too
CMake/tests: Move kernel/test_sizeof and test_block's expected outputs
to external files.
CMake/tests: move tests/runtime/clSetEventCallback expected output
to an external file.
Fix end-of-lines in expected output of tests
CMake/tests: move some tests (printf, examples, scalarwave) expected
output to an external file.
Cmake/test: change add_test_custom/_workgroup macros to functions

(I could be missing something, but macros didn't properly pass ARGN values)
Cmake/test: remove ${CMAKE_CURRENT_SOURCE_DIR} from arguments to
add_test_custom (it's redundant)
pthread device: increased minimum buffer allocation size to 10MB
Added -force-interpreter to lli call, to prevent JIT problems on ARM/mips
Merge pull request #131 from elhigu/pr-configure-fixes-for-visual-studio

Pr configure fixes for visual studio
Set all sources to be compiled with c++ compiler when using Visual Studio.
Fixed one more cmakelist. to compile sources with c++ when compiled with Visual Studio.