wrapper.py: Factor out genPencilScopBody

Change-Id: Ied8c2b31b94372e2d19da595887596bdbc78cb02
Also write const restrict static for fixed-size arrays

Change-Id: Ia48eedca576bb245fdda548a7b09ee0ccc7c8337
wrapper.py: append csscal and zdscal to scal

We append the csscal and zdscal wrappers to the scal wrappers and PENCIL
wrappers, as the scal.vobla file already contains csscal and zdscal.
This way we get all of scal, csscal, and zdscal from scal.

Change-Id: Ibc4cfef4e4894bf7203aefd18a5c6a79586952b6
Use updated independent pragma.

Change-Id: I0df99765fe1e7bb6cde9c46bb86261f659b75df4
Fix return statements in tests.

Change-Id: I3374f39577ab3a712efd2865887114b271da49e4
Use new names for built-in functions.

Change-Id: I83ca228a4838d0830933838ec4f40a2b95844f2e
Remove invalid returns from BLAS implementation.

Change-Id: I3ead499cf98998de2b2a455260d476b29cc4a6f0
Use pencil.h when compiling PENCIL code as C.

Change-Id: Ib7a7fa8738f1379a7fd746160c056ae1d60216ce