linkedlist: Add linked list snippet

Implement some common linked list operations.
fibonacci: Fix memory leak
fork: Fix memory leak
Fix coding style issues
libfoo: Advance to current origin/master