Added custom set_tropicssl_memory_functions() to manage bignum.c methods

The bulk of the new custom memory management functions are defined in spark_memory.cpp file in core-firmware repo. If set_tropicssl_memory_functions() is not called within core-firmware, tropicssl with default to using standard malloc() and free() calls.