Fixed tests to not leak temporary directories.

Review: https://reviews.apache.org/r/14506
Added put function to hashmap and fixed values() to return list.

Review: https://reviews.apache.org/r/14507/
Added hashmap tests to libprocess 3rdparty makefile.

Review: https://reviews.apache.org/r/14546