Add a first version of the library.

This commit includes the following functions:

* list_init
* list_new_raw
* list_new
* list_append
* list_apply

Everything seems to work well but nothing has been optimized so there is
a lot of work remaining.