Revert "Stub out timer support."

David has fixed the underlying compiler issue.

This reverts commit f5cfeb2d747523363f56821b8e38648f223f9680.

Conflicts:
	ctsrd/libexec/minifile-cheri-helper/Makefile
Revert "Stub out syscalls for now.  This breaks the cheripoint demo, but it"

This reverts commit 74415b3781dd20a7c9b8fcc9ccc05faca7db9201.
Import curl 7.37.1.
Import jpeg-8d
Make a global that should be static static.  This plus -Wno-unused-parameter
lets us build with WARNS=6.
Add a makefile for libjpeg and hook it up to the CHERI build.
Avoid a signed/unsigned comparision.  This check is bogus and should probably
be replaced with an fstat() call.
Add a makefile for libcurl and connect it to the build.
Import netsurf 3.1.
Merge from https://github.com/staceyson/netsurf:

commit bfc657814abf4c03e92798f0f08c30401f18d8a3
Author: Stacey Son <sson@FreeBSD.org>
Date:   Tue Aug 12 20:05:46 2014 -0500

    Initial Terasic Multi-Touch LCD (MTL) driver support.
Import libpng 1.5.18.
Merge from https://github.com/staceyson/netsurf

commit 7600b768295f830afa48d49f927da3110b4da5e3
Author: Stacey Son <sson@FreeBSD.org>
Date:   Tue Aug 12 19:38:58 2014 -0500

    Include the correct endian.h for FreeBSD and make the defines compatible
Add an 80% solution to the problem of building sources with conflicting
file names.  Workes perfectly as long as you make an objdir.  A bit more
work is required to allow in-tree builds to work.
Add a new variable LIBADD which itends to replace manual setting of
DPADD and LDADD thus eliminating the possiblity of getting them out of
sync, allowing easier transtions between libaries, and enabling more
complex linking options such as whole program analysis via LLVM-IR.
Don't do gamma correction, it required floating point and we don't currently
have libm in sandboxes.
Hook libpng up to the build with floating point disabled due to a lack
of math functions in sandboxes are present.
Merge from https://github.com/staceyson/netsurf

commit 02e2afadcca439dc3605ccb16d8469286dd72d88
Author: Stacey Son <sson@FreeBSD.org>
Date:   Tue Aug 12 19:43:28 2014 -0500

    Fix the internal fonts for be.
Merge from https://github.com/staceyson/netsurf

commit b52a9e58f07e09bd2e4855de0fbd7957bf919931
Author: Stacey Son <sson@FreeBSD.org>
Date:   Tue Aug 12 20:09:56 2014 -0500

    Fix the images colors written to the MTL.
Port CTSRD_BACKDOOR to libpng and switch to using 1.5.17 from ports for
libvuln_png.
Fix an incorrect cast in 6370c86fba9db12aaca5a03fc68809dcd7d58c1a.