add curl and jansson (JSON) libraries

both libraries and (terse) example files are provided (all in external/)