LLVM 3.5 fixes: add missing 'global' qualifier to avoid
casting pointers across address spaces which crashes the SROA
of 3.5. When the qualifiers are there, 3.4 crashes so this has
to be done conditionally.

Added some missing analysis requirement registrations. Seems
LLVM 3.5 is more strict with these.
LLVM 3.5: enable the address space flattening code for x86_64
as not converting the address spaces to 0 produces an LLVM crash of
which culprit is yet to find.
LLVM 3.5: the printf test passes
Enable using cl.hpp from the source tree.
Tiny style cleanup. No functionality changes.
LLVM 3.5: One needs to call getUser() explicitly to get the
User from an Use.
Unbroke LLVM 3.4 build.
Unbroke LLVM 3.5 build ;-)
Replace LLVM's linker with a light-weight one that picks
only functions from kernel library that actually are called in the kernel.
Fold lib/kernel/image.h into pocl_types.h
This fixes build on LLVM 3.2, where dev_image_t is needed compiling kernels.
Add configuration for uncrustify code beautifer.
As a initial suggestion, modify to match our C++ coding styles.
remove dead #include I missed in 4598282
Merge remote-tracking branch 'pocl/master'