Implement two more functions for the list API.

Get the tail of the list.
Remove an arbitrary node from the list, given the pointer to the node.
Accompony the test cases as well.