ClampPointers: findLimits now uses a const qualifier for asLimits
ClampPointers: addBoundaryChecks and addChecks now use a const qualifier for asLimits
createWebClKernel: better names for address space limits
getValidAddressFor: return values with better names

Adds suffix 0 for lower bound, -1 for upper bound
Moved local memory struct to be allocated locally instead of globally

This change transforms the global struct containing private memory
allocations (similarly to global memory allocations) into a pointer to
the said struct, which is then allocated (and said pointer updated) at
the begining of all the kernels.

This is achieved by

1) While consolidating static memory, create a global
   pointer-to-struct instead of struct for private memory allocations
2) Store the pointer to an addressSpaceStructs structure that is
   passed as a paremeter to consolidateStaticMemory. The pointer
   is also stored to safeExceptions; we won't be checking loads
   of private values via that pointer.
3) When creating kernels (createWebClKernel) the addressSpaceStructs
   is passed to it, enabling it to make the necessary allocations
   for private memory structs at the beginning of each kernel
consolidateStaticMemory: generate only one load for private memory struct

This reduces the amount of loads in the IR; it is OK to load the value
only once as it never changes after the kernel has been entered.

This makes the resulting IR more readable.
consolidateStaticMemory: private memory stuct loads are safeExceptions
pocl_header: separated safe declarations and implementations
Compile safe implementations of builtin functions to a separate bitcode file

This reduces clutter in .ll files generated during tests, in addition
to reducing the time it takes to run them.
pocl/Makefile: added a missing makefile
dumpAddress: added a safe builtin for debugging
Set privateAddressSpaceNumber = 0
Assign some better names to IR values
Private address space structs are accessed indirectly
Revert "Compile safe implementations of builtin functions to a separate bitcode file"

This reverts commit 314ba6255d1905c85cef86f769b7cf208dfe7794.

Conflicts:

	pocl/safe-implementations.cl
Implement dump_adddress in the pocl_kernel header
Fix build issues related to previous revert.

'Revert "Compile safe implementations of builtin functions to a
separate bitcode file"' did not revert properly as a Makefile was
added too late. This change builds library.bc properly.
createPrivateAllocation: moved code from createWebClKernel

This allows calling the same code for 'main' functions
Allocate privare memory also in c main functions
run_tests.sh: run all tests given on command line, not just the first